BELUGA BEHR created HIVE-20236:
----------------------------------

             Summary: Do Not Print StackTraces to STDERR in DDLTask
                 Key: HIVE-20236
                 URL: https://issues.apache.org/jira/browse/HIVE-20236
             Project: Hive
          Issue Type: Improvement
    Affects Versions: 3.0.0, 4.0.0
            Reporter: BELUGA BEHR


{code:java|title=DDLTask.java}
        try {
          ret = ToolRunner.run(fss, args.toArray(new String[0]));
        } catch (Exception e) {
          e.printStackTrace();
          throw new HiveException(e);
        }
{code}

Don't print the stacktrace to STDERR, deal with handling the error up the call 
stack by using the HiveException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to