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

MapRedLocalTask Error Handling

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment