[ 
https://issues.apache.org/jira/browse/HADOOP-5757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704471#action_12704471
 ] 

Ravi Gummadi commented on HADOOP-5757:
--------------------------------------

Looks like the code is fine as      bash -c " export JVM_PID=`echo $$` ; exec 
setsid java ...."         is used as command. I guess this JIRA can be closed.

> exporting pid doesn't work if the user's shell is not bash
> ----------------------------------------------------------
>
>                 Key: HADOOP-5757
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5757
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>
> HADOOP-5488 added exporting of pid using  "export JVM_PID=`echo $$` "  for 
> saving pid of task JVM. This exporting of pid wouldn't work if the user's 
> shell is not bash when running the MR job.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to