Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9818

Print error messages on stderr instead of stdout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • HCatalog
    • None

    Description

      hcat script (see here, for example) prints error messages via echo which go on stdout the way they are written. This is bad because downstream projects using it receive error messages as expected output instead of actually receiving nothing (see SQOOP-2147 as example).

      We need to put error messages on stdout. Something like:

      >&2 echo "This is an error message"
      

      instead of a simple echo that we have been using so far.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mgrover Mark Grover
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: