GitHub user Leemoonsoo opened a pull request: https://github.com/apache/zeppelin/pull/1481
[ZEPPELIN-1466] Make %dep work for spark 2.0 when SPARK_HOME is not defined ### What is this PR for? %dep does not work for spark 2.0 when SPARK_HOME is not defined. Problem described in the discussion https://issues.apache.org/jira/browse/ZEPPELIN-1466 ### What type of PR is it? Bug Fix ### Todos * [x] - Construct classpath arg correctly ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1466 ### How should this be tested? make sure SPARK_HOME is NOT defined. run ``` %dep z.load("org.apache.commons:commons-csv:1.1") ``` and ``` %spark import org.apache.commons.csv.CSVParser ``` sequentially and see import statement success ### 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/Leemoonsoo/zeppelin ZEPPELIN-1466 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1481.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 #1481 ---- commit 5cdf99fc79c4ed2bb240c1bad5706e0442906b5e Author: Lee moon soo <m...@apache.org> Date: 2016-10-04T09:28:30Z pass depInterpreter loaded jar in scala compiler's classpath arg ---- --- 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. ---