hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9656) Gridmix unit tests fail on Windows and Linux
Date Tue, 25 Jun 2013 18:55:20 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Chris Nauroth updated HADOOP-9656:

         Component/s: tools
    Target Version/s: 3.0.0, 2.1.0-beta
        Hadoop Flags: Reviewed

+1 for the patch.  I verified the tests on Mac and Windows.  Thanks, Chuan!  I'll commit this.
> 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

View raw message