I wanted to follow up and mention that the build progressed much further when I did “mvn clean package -DskipTests”, all the way down to the Spark interpreter subproject.
I tried following along with https://zeppelin.apache.org/docs/0.8.0/development/contribution/useful_developer_tools.html, and did: # build spark related modules with default profiles: scala 2.10 mvn clean package -pl 'spark,spark-dependencies,zeppelin-server' --am -DskipTests But that errored because spark-dependencies isn’t a valid submodule. I did figure out after a while, that to build the shell app, I could do: mvn clean package -pl ’shell,zeppelin-server' --am -DskipTests However, this wasn’t clear at all! I’d love to update the documentation, but not sure if I have a good enough understanding of how all the pieces work to do it…. > On May 7, 2019, at 2:19 PM, Eric Pugh <ep...@opensourceconnections.com> wrote: > > Hi, > > I wanted to see about improving the error message on the Shell interpreter, > so working through getting Zeppelin to compile locally. > > With Java 1.8 and Maven 3.6.0 when I run “mvn install -DskipTests” I am > getting a build error: > > [INFO] Zeppelin: Plugin StandardLauncher .................. SKIPPED > [INFO] Zeppelin: Plugin Kubernetes StandardLauncher ....... SKIPPED > [INFO] Zeppelin: Plugin SparkInterpreterLauncher .......... SKIPPED > [INFO] Zeppelin: Packaging distribution ................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9.679 s > [INFO] Finished at: 2019-05-07T14:15:00-04:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project spark-interpreter: Could not > resolve dependencies for project > org.apache.zeppelin:spark-interpreter:jar:0.9.0-SNAPSHOT: The following > artifacts could not be resolved: > org.apache.zeppelin:zeppelin-display:jar:0.9.0-SNAPSHOT, > org.apache.zeppelin:spark-scala-2.10:jar:0.9.0-SNAPSHOT, > org.apache.zeppelin:spark-scala-2.11:jar:0.9.0-SNAPSHOT, > org.apache.zeppelin:zeppelin-interpreter-api:jar:0.9.0-SNAPSHOT, > org.apache.zeppelin:spark1-shims:jar:0.9.0-SNAPSHOT, > org.apache.zeppelin:spark-shims:jar:0.9.0-SNAPSHOT, > org.apache.zeppelin:spark2-shims:jar:0.9.0-SNAPSHOT, > org.apache.zeppelin:zeppelin-python:jar:0.9.0-SNAPSHOT, > org.apache.spark:spark-repl_2.10:jar:2.4.0, > org.apache.spark:spark-core_2.10:jar:2.4.0, > org.apache.spark:spark-hive_2.10:jar:2.4.0: Failure to find > org.apache.zeppelin:zeppelin-display:jar:0.9.0-SNAPSHOT in > http://repository.apache.org/snapshots > <http://repository.apache.org/snapshots> was cached in the local repository, > resolution will not be reattempted until the update interval of > apache.snapshots has elapsed or updates are forced -> [Help 1] > > Is there a specific version of Maven? I know the > https://zeppelin.apache.org/contribution/contributions.html > <https://zeppelin.apache.org/contribution/contributions.html> refers to > Oracle Java 7 as well… > > For fun I ran "mvn install -Phadoop-2.2 -Dhadoop.version=2.2.0 -Pspark-1.3 > -Dspark.version=1.3.0” which past the first Zeppelin project, but then errors > with the version of Spark and Hadoop passed in: > > [WARNING] The requested profile "hadoop-2.2" could not be activated because > it does not exist. > [WARNING] The requested profile "spark-1.3" could not be activated because it > does not exist. > > Any pointers? Happy to update the contribution docs once I get through the > build process! > > Eric > > _______________________ > Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | > http://www.opensourceconnections.com <http://www.opensourceconnections.com/> > | My Free/Busy <http://tinyurl.com/eric-cal> > Co-Author: Apache Solr Enterprise Search Server, 3rd Ed > <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> > > This e-mail and all contents, including attachments, is considered to be > Company Confidential unless explicitly stated otherwise, regardless of > whether attachments are marked as such. > _______________________ Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.