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

Do Not Print StackTraces to STDERR in ParseDriver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 3.0.0, 4.0.0
    • None
    • Parser

    Description

      org/apache/hadoop/hive/ql/parse/ParseDriver.java

      catch (RecognitionException e) {
            e.printStackTrace();
            throw new ParseException(parser.errors);
          }
      

      Do not use e.printStackTrace() and print to STDERR. Either remove or replace with a debug-level log statement. I would vote to simply remove. There are several occurrences of this pattern in this class.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: