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
> <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*
>
>
>

Reply via email to