Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3661

JvmManager dies on windows because it doesn't have process IDs

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • task-controller
    • None
    • Windows+cygwin

    Description

      JvmManager.kill() throws a NumberFormatException on Windows because it doesn't have process IDs, so it passes the default empty string (set in Child.main apparently) to Integer.parseInt(). This causes the task tracker to shut down.

      I'm guessing the child can't send null (rather than "") as its pid to the parent, so the parent should treat the empty string the same as null when processing the pid string.

      Attachments

        1. mapreduce-3661-fix.diff
          0.7 kB
          Jonathan Matthew

        Activity

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

          People

            Unassigned Unassigned
            jmatthew Jonathan Matthew

            Dates

              Created:
              Updated:

              Slack

                Issue deployment