You might set -Pspark-2.2 On Wed, May 8, 2019 at 3:19 AM 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 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. > > -- 이종열, Jongyoul Lee, 李宗烈 http://madeng.net