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

Hudson commented on HADOOP-9656:
--------------------------------

Integrated in Hadoop-trunk-Commit #4009 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/4009/])
    HADOOP-9656. Gridmix unit tests fail on Windows and Linux. Contributed by 
Chuan Liu. (Revision 1496597)

     Result = SUCCESS
cnauroth : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1496597
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/GenerateDistCacheData.java
* 
/hadoop/common/trunk/hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/GridmixJob.java
* 
/hadoop/common/trunk/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/CommonJobTest.java
* 
/hadoop/common/trunk/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/TestDistCacheEmulation.java

                
> Gridmix unit tests fail on Windows and Linux
> --------------------------------------------
>
>                 Key: HADOOP-9656
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9656
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test, tools
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: HADOOP-9656-trunk.2.patch, HADOOP-9656-trunk.patch, 
> HADOOP-9656-trunk.patch
>
>
> The following three Gridmix unit tests fail on both Windows and Linux:
> * TestGridmixSubmission
> * TestLoadJob
> * TestSleepJob
> * TestDistCacheEmulation
> For the first three unit tests, one common cause of failure for both Windows 
> and Linux is that -1 was passed to {{scaleConfigParameter()}} as the default 
> per-task memory request in {{GridmixJob.configureHighRamProperties()}} method.
> In additional to the memory setting issue, Windows also have a path issue. In 
> {{CommonJobTest.doSubmission()}} method, "root" path is an HDFS path. 
> However, it is initialized as a local file path. This lead to later failure 
> to create "root" on HDFS.
> For TestDistCacheEmulation, the test asserts a different permission (0644) 
> than the permission that GridmixGenerateDistCacheData job sets on those files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to