[ 
https://issues.apache.org/jira/browse/MAPREDUCE-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Matthew updated MAPREDUCE-3661:
----------------------------------------

    Attachment: mapreduce-3661-fix.diff
    
> JvmManager dies on windows because it doesn't have process IDs
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-3661
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3661
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task-controller
>    Affects Versions: 1.0.0
>         Environment: Windows+cygwin
>            Reporter: Jonathan Matthew
>         Attachments: mapreduce-3661-fix.diff
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to