Simple and effective Workarounds !
Monday, 1 February 2016
Catch Logs In Sqoop
To output only in log file and not in UI:
/home/brillio/sqoop-jobs/test.sh > /home/brillio/logsqoop.txt 2>&1
To output in UI and log file:
/home/brillio/sqoop-jobs/test.sh 2>&1 | tee /home/brillio/logsqoop.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment