[
https://issues.apache.org/jira/browse/HADOOP-9656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chuan Liu updated HADOOP-9656:
------------------------------
Description:
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.
was:
The following three Gridmix unit tests fail on both Windows and Linux:
*TestGridmixSubmission
*TestLoadJob
*TestSleepJob
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.
> 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
> 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