THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
We recommend not running integration tests from your IDE - there can be some strange and unexpected errors there.
Use IDE command line to run the tests:
No Format |
---|
mvn clean integration-test |
...
to run with local mapreduce (faster and theoretically you should be able to attach a debugger:)
Warning |
---|
But there may be some quirks with HadoopLocalRunner and is not always recommended |
No Format |
---|
mvn -Dsqoop.hadoop.runner.class=org.apache.sqoop.test.hadoop.HadoopLocalRunner -Dtest=org.apache.sqoop.integration.connector.kafka.FromRDBMSToKafkaTest -DfailIfNoTests=false verify |
You can disable the annoying java processes that pop up when you run the tests by running the following before using mvn:
export _JAVA_OPTIONS=-Djava.awt.headless=true |
How does the integration test suite work?
No Format |
---|
// todo : Jarcec |
...
- They use the Hadoop Minicluster behind the scenes. to simulate the MR execution engine environment
What DB does integration tests use today for storing the Sqoop entities ?
...