Do a find on testConf.xml under ./bigtop, then copy it to the target place,
you can get pass this poiny

~/bigtop$ cp
./build/hadoop/deb/hadoop-1.0.1/src/test/org/apache/hadoop/cli/testConf.xml
/home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml

I have run into some other issues after that.



On Thu, Mar 22, 2012 at 3:53 PM, Victor Chugunov <[email protected]> wrote:

> I did
> Looking at the problem
> Victor
>
> ------------------------------
> *From:* David Liu (gmail dev) <[email protected]>
> *To:* [email protected]
> *Sent:* Thu, March 22, 2012 4:46:06 PM
> *Subject:* error when running test on hadoop: cli.TestCLI: File:
> /home/ubuntu/bigtop/bigtop-tests/test-execution/smokes/hadoop/target/clitest_data/testConf.xml
> not found
>
> Hi, did anyone hit this error message before.
> Thanks
> David
>
> 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)
>
>
>

Reply via email to