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

Akira AJISAKA commented on MAPREDUCE-5868:
------------------------------------------

I modified Application.java to get error message from the forked process.
{code}
    process = runClient(cmd, env);
+    String error = IOUtils.toString(process.getErrorStream());
+    LOG.info(error);
{code}
The error message is as follows:
{code}
bash: 
/Users/aajisaka/git/hadoop-common/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/userlogs/job_001_0002/attempt_001_0002_r_000004_5/stdout:
 No such file or directory
{code}
It means the process failed immediately because stdout file was missing.
I'll attach a patch to create an empty stdout file.

> TestPipeApplication causing nightly build to fail
> -------------------------------------------------
>
>                 Key: MAPREDUCE-5868
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5868
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: trunk
>            Reporter: Jason Lowe
>            Assignee: Akira AJISAKA
>         Attachments: TestPipeApplication.stack, jstack.log, 
> mapreduce-5868-v1.txt
>
>
> TestPipeApplication appears to be timing out which causes the nightly build 
> to fail.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to