Database Reference
In-Depth Information
Now, I install the configuration components using the same Maven command and look for the same indication of
success:
cd /home/hadoop/bigtop/bigtop/bigtop-tests/test-execution/conf
mvn -f pom.xml install
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.638 s
[INFO] Finished at: 2014-08-30T09:14:46+12:00
[INFO] Final Memory: 13M/112M
[INFO] ------------------------------------------------------------------------
Finally, I install the common component in the same way:
cd /home/hadoop/bigtop/bigtop/bigtop-tests/test-execution/common
mvn -f pom.xml install
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.301 s
[INFO] Finished at: 2014-08-30T09:15:30+12:00
[INFO] Final Memory: 9M/78M
[INFO] ------------------------------------------------------------------------
Now I can finally run the smoke test. I move to the desired location under Smokes and run the Maven verify
command. For my test, I will run the Pig test case:
[root@hc2nn pig]# cd /home/hadoop/bigtop/bigtop/bigtop-tests/test-execution/smokes/pig
[root@hc2nn pig]# mvn verify
I won't reproduce the entire output here, but you can see that it is a series of Hadoop Pig scripts and test results,
like this:
Running org.apache.pig.test.pigunit.pig.TestGruntParser
DUMP output;
A = LOAD 'input.txt' AS (query:CHARARRAY);
STORE output INTO '/path';
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.239 sec
This script shows that five test cases within the Pig test were run with no errors, and it demonstrates, briefly, that I
can source a Hadoop stack from the Apache Bigtop project whose element programs have been integration-tested via
a series of smoke tests.
You can download the Bigtop stack yourself and build it. You can also run the smoke tests on your own servers
to prove that the installation will work. By running the smoke tests in your environment, you can prove that the whole
Hadoop stack provided by the Bigtop project works as expected for you. Check the Apache Bigtop website
( bigtop.apache.org ) for further information.
 
Search WWH ::




Custom Search