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

MapRedLocalTask Error Handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Done
    • 0.14.0
    • 1.2.0, 2.1.0
    • Logging
    • Hide
      HIVE-9860, HIVE-13183 under the fix version #1.2.0, #2.1.0
      Show
      HIVE-9860 , HIVE-13183 under the fix version #1.2.0, #2.1.0

    Description

      If there are any exceptions trying to fork a local task, the exception message is logged but not the stack trace. There can be a lot of issues forking a process, so we should log the stack trace for better debuggability.

      Code in MapRedLocalTask.executeInChildJVM(DriverContext ctx):

          } catch (Exception e) {
            e.printStackTrace();
            LOG.error("Exception: " + e.getMessage());
            return (1);
          }
      

      Attachments

        Issue Links

          Activity

            People

              rmsmani@gmail.com Mani M
              szehon Szehon Ho
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: