mapreduce - unable to run hadoop wordcount example? -


i running hadoop wordcount example in single node environment on ubuntu 12.04 in vmware. running example this:--

hadoop@master:~/hadoop$ hadoop jar hadoop-examples-1.0.4.jar wordcount     /home/hadoop/gutenberg/ /home/hadoop/gutenberg-output 

i have input file @ below location:

/home/hadoop/gutenberg 

and location output file is:

    /home/hadoop/gutenberg-output 

when run wordcount program getting following errors:--

 13/04/18 06:02:10 info mapred.jobclient: cleaning staging area      hdfs://localhost:54310/home/hadoop/tmp/mapred/staging/hadoop/.staging/job_201304180554_0001        13/04/18 06:02:10 error security.usergroupinformation: priviledgedactionexception        as:hadoop cause:org.apache.hadoop.mapred.filealreadyexistsexception: output directory  /home/hadoop/gutenberg-output exists  org.apache.hadoop.mapred.filealreadyexistsexception: output directory  /home/hadoop/gutenberg-output exists @   org.apache.hadoop.mapreduce.lib.output.fileoutputformat.checkoutputspecs(fileoutputformat.j  ava:137) @ org.apache.hadoop.mapred.jobclient$2.run(jobclient.java:887) @  org.apache.hadoop.mapred.jobclient$2.run(jobclient.java:850) @  java.security.accesscontroller.doprivileged(native method) @  javax.security.auth.subject.doas(subject.java:416) @  org.apache.hadoop.security.usergroupinformation.doas(usergroupinformation.java:1121) @    org.apache.hadoop.mapred.jobclient.submitjobinternal(jobclient.java:850) @   org.apache.hadoop.mapreduce.job.submit(job.java:500) @   org.apache.hadoop.mapreduce.job.waitforcompletion(job.java:530) @  org.apache.hadoop.examples.wordcount.main(wordcount.java:67) @  sun.reflect.nativemethodaccessorimpl.invoke0(native method) @  sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)  @ java.lang.reflect.method.invoke(method.java:616) @  org.apache.hadoop.util.programdriver$programdescription.invoke(programdriver.java:68)  @ org.apache.hadoop.util.programdriver.driver(programdriver.java:139) @  org.apache.hadoop.examples.exampledriver.main(exampledriver.java:64) @  sun.reflect.nativemethodaccessorimpl.invoke0(native method) @  sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @  sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)  @ java.lang.reflect.method.invoke(method.java:616) @    org.apache.hadoop.util.runjar.main(runjar.java:156) hadoop@master:~/hadoop$ bin/stop- all.sh warning: $hadoop_home deprecated. stopping jobtracker localhost: stopping    tasktracker stopping namenode localhost: stopping datanode localhost: stopping  secondarynamenode    hadoop@master:~/hadoop$ 

delete output file exists, or output different file.

(i'm little curious other interpretations of error message considered.)


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -