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

    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

          People

            Unassigned Unassigned
            jmatthew Jonathan Matthew
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: