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

MapRedLocalTask Error Handling

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 0.14.0
    • Fix Version/s: 1.2.0, 2.1.0
    • Component/s: Logging
    • Labels:
    • Release Note:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: