Hi Markus, Thanks your reply but it also fails with the same errors. I added a new settings.xml inot .m2/settings.xml,which included CDH repo. BTW, CDH repo is also in zeppelin/pom.xml. Doesn't it work when building?
More details: 1. CentOS Linux release 7.4.1708 (Core) 2. mvn version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00) Maven home: /usr/share/maven Java version: 1.8.0_121, vendor: Oracle Corporation Java home: /usr/java/jdk1.8.0_121/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-514.el7.x86_64", arch: "amd64", family: "unix" From: Markus Härnvi Date: 2017-10-18 15:08 To: users Subject: Re: how to build zepplin on CDH5.12.0 Hi Treble, You have to add the CDH Maven repo to your ~/.m2/settings.xml https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh5_maven_repo.html regards, Markus 2017-10-18 8:15 GMT+02:00 mengmeng.m...@mathartsys.com <mengmeng.m...@mathartsys.com>: Hi, I'm a newer for zeppelin and want to enable zeppelin on CDH5.12.0(hadoop 2.6.0, spark 1.6.0,scala 2.10.5,hive 1.1.0). This my cmd: 1. git reset --hard v0.7.3 2. ./dev/change_scala_version.sh 2.10 3. mvn clean package -Pspark-1.6 -Ppyspark -Dhadoop.version=2.6.0-cdh5.12.0 -Phadoop-2.6 -Pscala-2.10 -Pyarn -DskipTests but i got the errors: [INFO] ------------------------------------------------------------------------ [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.7.3: The following artifacts could not be resolved: org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.12.0, org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.12.0: Failure to find org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.12.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1] [ERROR] Any ideas how to enable on CDH-5.12.0? I would appreciate it very much. Thanks, Treble Meng