GitHub user zjffdu reopened a pull request: https://github.com/apache/zeppelin/pull/1462
ZEPPELIN-1477. Add Integration Test for LivyInterpreter ### What is this PR for? This PR fix several issues of LivyInterpeter test. * Livy interpreter's test code is not in the right place, so it never runs. * LivyHelperTest would fail. * No Integration test for LivyInterpreter so any following change is not easy to be tested. This PR would fix the above issues. Regarding the integration test, some of livy's artifact is not available in repository, so I have to copy them to livy/local-maven-repo as local repository. And LivyInterperter's integration test require spark and livy to be installed. For now you have to download spark and livy manually. Please use spark 1.5.x and livy 0.2 which is currently supported. Download livy 0.2.0 from here [https://github.com/cloudera/livy/releases](https://github.com/cloudera/livy/releases) And use the following command to execute the LivyIntegrationTest. ``` export SPARK_HOME=<path_to_spark> export LIVY_HOME=<path_to_livy> mvn clean package -pl 'livy' -Dtest=LivyIntegrationTest ``` If you hit any issues, you can check logs under `livy/target/tmp`. ### What type of PR is it? [Bug Fix | Improvement] ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-1477 ### Screenshots (if appropriate)  ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No You can merge this pull request into a Git repository by running: $ git pull https://github.com/zjffdu/zeppelin ZEPPELIN-1477 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1462.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1462 ---- commit 7e1cf6c003693d5a06826884ceccfc0affb9aaa7 Author: Jeff Zhang <zjf...@apache.org> Date: 2016-09-22T08:42:14Z ZEPPELIN-1477. Add Integration Test for LivyInterpreter commit e2f1115f0e0b0adafb628363cb8ea5bca769bf36 Author: Jeff Zhang <zjf...@apache.org> Date: 2016-09-27T06:35:15Z fix rat check commit 6a7caac18431cc149f4bc2e34d2d5cd78ac5559f Author: Jeff Zhang <zjf...@apache.org> Date: 2016-09-27T06:50:45Z add missing livy jars commit b9abcc5822fe416feabf6f6cc619f070002bb322 Author: Jeff Zhang <zjf...@apache.org> Date: 2016-09-27T08:04:24Z add missing dependencies commit 0b350c0b388d3f48d5504acb5ef67f38d6d877c1 Author: Jeff Zhang <zjf...@apache.org> Date: 2016-10-07T06:18:11Z add more test ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---