[ 
https://issues.apache.org/jira/browse/PIG-4837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213994#comment-15213994
 ] 

Xianda Ke commented on PIG-4837:
--------------------------------

I also did some investigation on this issue:
yarn's launchContainer uses ProcessBuilder to start a process. ProcessBuilder 
will concatenate all the environment variables and pass it to JDK's native 
interface UNIXProcess.forkAndExec(). JDK's native interface will call OS's 
interface. If the concatenate environment variables is too long, OS will return 
an error. Hmm... It is a bit weird that the ARG_MAX of the jenkins build server 
is big but it still failed.

 It also works on my machine.  I agree with [~kellyzly] and [~pallavi.rao].    
It is configuration or environment problem, not a significant issue.

> TestNativeMapReduce test fix
> ----------------------------
>
>                 Key: PIG-4837
>                 URL: https://issues.apache.org/jira/browse/PIG-4837
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: liyunzhang_intel
>            Assignee: liyunzhang_intel
>             Fix For: spark-branch
>
>         Attachments: PIG-4837.patch, PIG-4837_2.patch, build23.PNG, 
> build27.PNG
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to