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

Do Not Print StackTraces to STDERR in DDLTask

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0.0, 4.0.0
    • 3.2.0, 4.0.0-alpha-1
    • None

    Description

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

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

      Attachments

        1. HIVE-20236.1.patch
          0.7 kB
          Alice Fan

        Activity

          People

            afan Alice Fan
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: