hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gera Shegalov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6702) TestMiniMRChildTask.testTaskEnv and TestMiniMRChildTask.testTaskOldEnv are failing
Date Wed, 01 Jun 2016 17:55:59 GMT

    [ 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


Mime
View raw message