You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Wing Yew Poon (Commented) (JIRA)" <ji...@apache.org> on 2012/02/22 20:05:48 UTC
[jira] [Commented] (BIGTOP-414) enable hadoop tests in hadoop-0.23
branch to build and to run
[ https://issues.apache.org/jira/browse/BIGTOP-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213861#comment-13213861 ]
Wing Yew Poon commented on BIGTOP-414:
--------------------------------------
This is a first step to make the tests in the hadoop-0.23 branch build, and run. In order to achieve that, I had to comment out the other modules in the top level (for both the test artifact and the test execution pom), since I have only worked on the hadoop module.
For the hadoop tests, because HADOOP-7730 and HDFS-1762 are only fixed in hadoop 0.22.x and not in hadoop 0.23, I created a TestCLI class in bigtop itself, extending org.apache.hadoop.cli.CLITestHelper, and created the necessary CommandExecutor implementation as well. There are some improvements in this TestCLI, notably the removal of hardcoded /tmp/testcli paths in the expected results, and parameterizing the superuser group in the expected results from the hdfs configuration.
Aside from changes to enable TestHadoopExamples to run, I took the liberty to modifying the parameters to some examples to make them more friendly to running on a lower resource pseudo-distributed cluster on a vm environment.
> enable hadoop tests in hadoop-0.23 branch to build and to run
> -------------------------------------------------------------
>
> Key: BIGTOP-414
> URL: https://issues.apache.org/jira/browse/BIGTOP-414
> Project: Bigtop
> Issue Type: Test
> Components: Tests
> Affects Versions: 0.3.0
> Reporter: Wing Yew Poon
> Fix For: 0.3.0
>
> Attachments: BIGTOP-414.patch
>
>
> The tests in bigtop-tests in the hadoop-0.23 branch do not build, and therefore cannot run.
> I am submitting a patch that enables the hadoop-smoke test artifact to build, and the tests to be executed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira