Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Make sure that you have the latest Maven installed (3.0.34)
  • Make sure that you have the following defined in your environment:
    No Format
    export JAVA_HOME=/usr/java/latest
    export HADOOP_HOME=/usr/lib/hadoop
    export HADOOP_CONF_DIR=/usr/lib/hadoop/conf
    export HBASE_HOME=/usr/lib/hbase
    export HBASE_CONF_DIR=/usr/lib/hbase/conf
    export ZOOKEEPER_HOME=/usr/lib/zookeeper
    export HIVE_HOME=/usr/lib/hive
    export PIG_HOME=/usr/lib/pig
    export FLUME_HOME=/usr/lib/flume
    export SQOOP_HOME=/usr/lib/sqoop
    export OOZIE_URL=http://localhost:11000/oozie
    
    Start test execution:
    No Format
    
    $ cd bigtop-tests/test-execution/smokes/
    $ mvn verify
    

Things to keep in mind

  • If you want to select a subset of tests you can use -Dorg.apache.maven-failsafe-plugin.testInclude='**/Mask*'
  • It is helpful to add -Dorg.apache.bigtop.itest.log4j.level=TRACE
  • Given the on-going issues with Apache Jenkins builds you might need to deploy everything locally:
    No Format
    $ mvn -f bigtop-tests/test-artifacts/pom.xml install
    $ mvn -f bigtop-tests/test-execution/conf/pom.xml install
    $ mvn -f bigtop-tests/test-execution/common/pom.xml install 
    
  • Start test execution:
    No Format
    
    $ cd bigtop-tests/test-execution/smokes/<subsystem>
    $ mvn verify
    

Things to keep in mind

  • If you want to select a subset of tests you can use -Dorg.apache.maven-failsafe-plugin.testInclude='**/Mask*'
  • It is helpful to add -Dorg.apache.bigtop.itest.log4j.level=TRACE