Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Unable to Install Mavern and java on Cloudera Starter Docker Image

avatar
Explorer

Dear Experts,

 

I have setup Cloudera Docker quick start on macos.

 

As part of the Big Data Book reading and following some excercises.

 

Cloudera Version

rpm -qa | grep hadoop

 

 

hadoop-mapreduce-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-yarn-nodemanager-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-hdfs-journalnode-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-yarn-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-0.20-mapreduce-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-libhdfs-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-yarn-resourcemanager-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-hdfs-namenode-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-hdfs-datanode-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-conf-pseudo-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-libhdfs-devel-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-kms-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-httpfs-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-doc-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-hdfs-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-client-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-mapreduce-historyserver-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-hdfs-secondarynamenode-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-hdfs-fuse-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64
hadoop-yarn-proxyserver-2.6.0+cdh5.7.0+1280-1.cdh5.7.0.p0.92.el6.x86_64

 

 

 

unfortunately i am not able to setup Mavern and java on Cloudera docker image quick start 

https://github.com/tomwhite/hadoop-book

 

Building and Running

To build the code, you will first need to have installed Maven and Java. 

 

Question - how to install Mavern and Java in Cloudera Docker Started Image ?

 

% mvn package -DskipTests

 

Then type

 

can some suggest a way forward

1 REPLY 1

avatar
Master Guru

@bdworld2 Take a look of this doc which can help about the Maven use.

https://docs.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh5_maven_repo.html


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.