Hello. Thank you for sharing your problem. Could you add *-Pvendor-repo *option to build Zeppelin with CDH? You can refer to http://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/install/build.html#build-command-examples . Thanks.
2016-11-23 16:05 GMT+09:00 Ruslan Dautkhanov <dautkha...@gmail.com>: > Following build fails with > > mvn clean package -DskipTests -Pspark-1.6 -Ppyspark > -Dhadoop.version=2.6.0-cdh5.8.3 -Phadoop-2.6 -Pyarn -Pr > > [*ERROR*] Failed to execute goal on project zeppelin-spark-dependencies_2.10: > Could not resolve dependencies for project org.apache.zeppelin:zeppelin- > spark-dependencies_2.10:jar:0.6.2: The following artifacts could not be > resolved: org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.8.3, > org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.8.3: Could not find > artifact org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.8.3 in central ( > https://repo.maven.apache.org/maven2) -> [Help 1] > > Maven 3.3.9 > Zeppelin 0.6.2 > Java 7 > > I was trying to follow > http://blog.cloudera.com/blog/2015/07/how-to-install-apache- > zeppelin-on-cdh/ > which is a bit outdated, but still very helpful. > > Any ideas? > > > > [1] > Explicit exports before build: > > export SPARK_HOME=/opt/cloudera/parcels/CDH/lib/spark > export HIVE_HOME=/opt/cloudera/parcels/CDH/lib/hive > export HADOOP_HOME=/opt/cloudera/parcels/CDH/lib/hadoop > export HADOOP_CONF_DIR=/etc/hadoop/conf > export HIVE_CONF_DIR=/etc/hive/conf > > [2] > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Zeppelin ........................................... SUCCESS [ > 5.504 s] > [INFO] Zeppelin: Interpreter .............................. SUCCESS [ > 13.012 s] > [INFO] Zeppelin: Zengine .................................. SUCCESS [ > 7.975 s] > [INFO] Zeppelin: Display system apis ...................... SUCCESS [ > 16.979 s] > [INFO] Zeppelin: Spark dependencies ....................... FAILURE [ > 14.471 s] > [INFO] Zeppelin: Spark .................................... SKIPPED > [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED > [INFO] Zeppelin: Angular interpreter ...................... SKIPPED > > > > >