java - Maven error while assembling hadoop in stand alone mode -
i new hadoop , maven. compile hadoop 2.0.3 source , install it. following instructions http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/singlecluster.html
so far, have managed download hadoop source code , source directory issued "mvn clean install -pnative" next tried execute mvn assembly:assembly, following error:
failed execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:assembly (default-cli) on project hadoop-main: error reading assemblies: no assembly descriptors found. -> [help 1]
please can move forward.
also, above mentioned install link, not mention should value of "$hadoop_common_home/$hadoop_hdfs_home"
i compiled 1.0.4 academic exercise. not sure if valid 2.0.3
this should done (on ubuntu) before start compilation make sure needed stuff there:
sudo apt-get -y install maven build-essential protobuf-compiler autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev
i did not had subversion did too:
sudo apt-get install subversion
after checked out code:
svn checkout http://svn.apache.org/repos/asf/hadoop/common/tags/release-1.0.4/ hadoop-common-1.0.4
then went newly created folder “hadoop-common-1.0.4″ , gave command:
ant clean package
you can refer blog whole story: http://hadoopmagic.wordpress.com/
Comments
Post a Comment