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
Posted by Lokesh Nanda at 22:13
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Total Pageviews

Contributors

  • Lokesh Nanda
  • Unknown

Blog Archive

  • ►  2020 (1)
    • ►  July (1)
  • ►  2019 (1)
    • ►  December (1)
  • ►  2018 (4)
    • ►  August (2)
    • ►  May (1)
    • ►  March (1)
  • ►  2017 (3)
    • ►  September (2)
    • ►  May (1)
  • ▼  2016 (34)
    • ►  December (1)
    • ►  October (1)
    • ►  September (1)
    • ►  August (3)
    • ►  July (3)
    • ►  June (10)
    • ►  March (2)
    • ▼  February (8)
      • Create Identity column in Hive for dump in Hbase
      • Script for getting count and name of table from Hi...
      • Connect Linux HDInsight cluster with PowerBi/Tableau
      • Shell Script for automating GA
      • Monitor Spark Processes (List spark processes runn...
      • Copy Startup Files from Azure Blob to Local everyt...
      • How to pass Parameter in HIVE hql
      • Catch Logs In Sqoop
    • ►  January (5)
  • ►  2015 (29)
    • ►  December (8)
    • ►  November (1)
    • ►  October (4)
    • ►  September (6)
    • ►  August (10)
Simple theme. Theme images by luoman. Powered by Blogger.