Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3661

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: task-controller
    • Labels:
      None
    • Environment:

      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.

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

        Activity

        Jonathan Matthew created issue -
        Jonathan Matthew made changes -
        Field Original Value New Value
        Attachment mapreduce-3661-fix.diff [ 12510300 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Jonathan Matthew
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development