You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Gera Shegalov (JIRA)" <ji...@apache.org> on 2016/06/01 17:55:59 UTC

[jira] [Commented] (MAPREDUCE-6702) TestMiniMRChildTask.testTaskEnv and TestMiniMRChildTask.testTaskOldEnv are failing

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

Gera Shegalov commented on MAPREDUCE-6702:
------------------------------------------

Probably not the root cause but Hadoop code base is remarkably inconsistent in terms of using absolute paths for basic UNIX commands. 
This is just for bash
{code}
$ grep --include='*.java' -r \"/bin/bash\" . | wc -l
       5
$ grep --include='*.java' -r \"bash\" . | wc -l
      25
{code}
including in 
{code}
yarn.server.nodemanager.ContainerExecutor#getRunCommand(java.lang.String, java.lang.String, java.lang.String, org.apache.hadoop.fs.Path, org.apache.hadoop.conf.Configuration, org.apache.hadoop.yarn.api.records.Resource) 
{code}
from where the test failure originates.



> TestMiniMRChildTask.testTaskEnv and TestMiniMRChildTask.testTaskOldEnv are failing
> ----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6702
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6702
>             Project: Hadoop Map/Reduce
>          Issue Type: Test
>          Components: client
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Daniel Templeton
>            Assignee: Akira AJISAKA
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.hadoop.mapred.TestMiniMRChildTask
> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 92.48 sec <<< FAILURE! - in org.apache.hadoop.mapred.TestMiniMRChildTask
> testTaskEnv(org.apache.hadoop.mapred.TestMiniMRChildTask)  Time elapsed: 21.906 sec  <<< FAILURE!
> java.lang.AssertionError: The environment checker job failed.
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.apache.hadoop.mapred.TestMiniMRChildTask.runTestTaskEnv(TestMiniMRChildTask.java:550)
> 	at org.apache.hadoop.mapred.TestMiniMRChildTask.testTaskEnv(TestMiniMRChildTask.java:472)
> testTaskOldEnv(org.apache.hadoop.mapred.TestMiniMRChildTask)  Time elapsed: 17.452 sec  <<< FAILURE!
> java.lang.AssertionError: The environment checker job failed.
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.apache.hadoop.mapred.TestMiniMRChildTask.runTestTaskEnv(TestMiniMRChildTask.java:550)
> 	at org.apache.hadoop.mapred.TestMiniMRChildTask.testTaskOldEnv(TestMiniMRChildTask.java:496)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org