i new using hadoop, , trying run wordcount on single node cluster on ubuntu desktop. trying follow guide run hadoop job:
http://javabeginnerstutorial.com/hadoop/your-first-hadoop-map-reduce-job/
currently stuck on step 3, when try mvn clean install, error receive. using exact same pom.xml file linked on step 3. supposed edit in pom.xml file in order compile? or links possibly not work? great. thanks.
hduser@venus:~/development/hadoop_projects/word_count$ mvn clean install [info] scanning projects... [warning] [warning] problems encountered while building effective model com.impetus.code:hadoop-examples:jar:1.0 [warning] 'build.plugins.plugin.version' org.apache.maven.plugins:maven-compiler-plugin missing. @ line 38, column 12 [warning] [warning] highly recommended fix these problems because threaten stability of build. [warning] [warning] reason, future maven versions might no longer support building such malformed projects. [warning] [info] [info] ------------------------------------------------------------------------ [info] building hadoop-examples 1.0 [info] ------------------------------------------------------------------------ [info] [info] --- maven-clean-plugin:2.5:clean (default-clean) @ hadoop-examples --- [info] [info] --- maven-resources-plugin:2.3:resources (default-resources) @ hadoop-examples --- [warning] using platform encoding (utf-8 actually) copy filtered resources, i.e. build platform dependent! [info] skip non existing resourcedirectory /home/hduser/development/hadoop_projects/word_count/src/main/resources [info] [info] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ hadoop-examples --- [info] no sources compile [info] [info] --- maven-resources-plugin:2.3:testresources (default-testresources) @ hadoop-examples --- [warning] using platform encoding (utf-8 actually) copy filtered resources, i.e. build platform dependent! [info] skip non existing resourcedirectory /home/hduser/development/hadoop_projects/word_count/src/test/resources [info] [info] --- maven-compiler-plugin:2.0.2:testcompile (default-testcompile) @ hadoop-examples --- [info] no sources compile [info] [info] --- maven-surefire-plugin:2.10:test (default-test) @ hadoop-examples --- [info] no tests run. [info] surefire report directory: /home/hduser/development/hadoop_projects/word_count/target/surefire-reports ------------------------------------------------------- t e s t s ------------------------------------------------------- results : tests run: 0, failures: 0, errors: 0, skipped: 0 [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 0.874s [info] finished at: wed jul 15 00:34:04 pdt 2015 [info] final memory: 7m/240m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project hadoop-examples: error creating properties files forking; nested exception java.io.ioexception: no such file or directory -> [help 1] [error] [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojoexecutionexception
try pom , maven dependice http://mvnrepository.com/artifact/org.apache.hadoop/hadoop-mapreduce-client-core try check hadoop version before adding pom file.
Comments
Post a Comment