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

MapRedLocalTask Error Handling

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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment