You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Roman Shaposhnik (Commented) (JIRA)" <ji...@apache.org> on 2012/04/04 06:41:21 UTC

[jira] [Commented] (BIGTOP-483) Smoke test of Hadoop fails with clitest missing testConf.xml file

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

Roman Shaposhnik commented on BIGTOP-483:
-----------------------------------------

David, sorry to mention it before, but is there any chance you can try to take a look at how to reuse the original artifact from the Hadoop itself? At this point, lets not worry about Hadoop 1.X code line and focus more on the Hadoop 0.23 (AKA Hadoop 2.X) codeline.

Here's what I have in mind: 
   https://github.com/apache/hadoop-common/blob/branch-0.22/common/src/test/core/org/apache/hadoop/cli/CLITestHelper.java#L85

Note however that this is Hadoop branch-0.22. It would be very nice if you could port this to the Hadoop upstream branch-2

I'd be willing to help.
                
> Smoke test of Hadoop fails with clitest missing testConf.xml file
> -----------------------------------------------------------------
>
>                 Key: BIGTOP-483
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-483
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.3.0
>         Environment: Found on ubuntu, but applies to all systems.
>            Reporter: David Liu
>            Assignee: David Liu
>             Fix For: 0.4.0
>
>         Attachments: BIGTOP-483.patch.txt
>
>
> 12/03/21 23:10:05 INFO cli.TestCLI: File: /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml not found
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> Results :
> Failed tests: 
>   testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)
> Tests run: 10, Failures: 1, Errors: 0, Skipped: 0
> More details:
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.hadooptests.TestTestCLI
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.923 sec <<< FAILURE!
> testAll(org.apache.bigtop.itest.hadooptests.TestTestCLI)  Time elapsed: 0.096 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Error reading test config file
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.hadoop.cli.TestCLI.readTestConfigFile(TestCLI.java:105)
>         at org.apache.hadoop.cli.TestCLI.setUp(TestCLI.java:114)

--
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