hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10424) TestStreamingTaskLog#testStreamingTaskLogWithHadoopCmd is failing
Date Wed, 26 Mar 2014 04:15:15 GMT

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

Akira AJISAKA commented on HADOOP-10424:
----------------------------------------

The test fails because {{echo $HADOOP_ROOT_LOGGER $HADOOP_CLIENT_OPTS}} returns nothing in
Hadoop Streaming after MAPREDUCE-5806.
I suppose it is sufficient to confirm the environment variables by {{MRApp.cmdEnvironment}}
instead of echo command.

> TestStreamingTaskLog#testStreamingTaskLogWithHadoopCmd is failing
> -----------------------------------------------------------------
>
>                 Key: HADOOP-10424
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10424
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Mit Desai
>            Assignee: Akira AJISAKA
>         Attachments: log.txt
>
>
> testStreamingTaskLogWithHadoopCmd(org.apache.hadoop.streaming.TestStreamingTaskLog) 
Time elapsed: 44.069 sec  <<< FAILURE!
> java.lang.AssertionError: environment set for child is wrong
> 	at org.junit.Assert.fail(Assert.java:93)
> 	at org.junit.Assert.assertTrue(Assert.java:43)
> 	at org.apache.hadoop.streaming.TestStreamingTaskLog.runStreamJobAndValidateEnv(TestStreamingTaskLog.java:157)
> 	at org.apache.hadoop.streaming.TestStreamingTaskLog.testStreamingTaskLogWithHadoopCmd(TestStreamingTaskLog.java:107)
> Results :
> Failed tests: 
>   TestStreamingTaskLog.testStreamingTaskLogWithHadoopCmd:107->runStreamJobAndValidateEnv:157
environment set for child is wrong



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

Mime
View raw message