hadoop - PriviledgedActionException in Mahout Clustering -



hadoop - PriviledgedActionException in Mahout Clustering -

i have been trying mahout clustering illustration . have written sample programme convert text documents sequence file , sequence file vectors in java . getting next exception while running programme directories required created , copying proper info in .

blockquote 14/06/26 08:45:35 error security.usergroupinformation: priviledgedactionexception as:shshaikh cause:java.io.filenotfoundexception: file file:/home/shshaikh/clusterworkdir/sequence/vector/data not exist. java.io.filenotfoundexception: file file:/home/shshaikh/clusterworkdir/sequence/vector/data not exist. @ org.apache.hadoop.fs.rawlocalfilesystem.getfilestatus(rawlocalfilesystem.java:402) @ org.apache.hadoop.fs.filterfilesystem.getfilestatus(filterfilesystem.java:255) @ org.apache.hadoop.mapreduce.lib.input.sequencefileinputformat.liststatus(sequencefileinputformat.java:63) @ org.apache.hadoop.mapreduce.lib.input.fileinputformat.getsplits(fileinputformat.java:252) @ org.apache.hadoop.mapred.jobclient.writenewsplits(jobclient.java:1054) @ org.apache.hadoop.mapred.jobclient.writesplits(jobclient.java:1071) @ org.apache.hadoop.mapred.jobclient.access$700(jobclient.java:179) @ org.apache.hadoop.mapred.jobclient$2.run(jobclient.java:983) @ org.apache.hadoop.mapred.jobclient$2.run(jobclient.java:936) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:416) @ org.apache.hadoop.security.usergroupinformation.doas(usergroupinformation.java:1190) @ org.apache.hadoop.mapred.jobclient.submitjobinternal(jobclient.java:936) @ org.apache.hadoop.mapreduce.job.submit(job.java:550) @ org.apache.hadoop.mapreduce.job.waitforcompletion(job.java:580) @ org.apache.mahout.vectorizer.documentprocessor.tokenizedocuments(documentprocessor.java:93) @ org.apache.mahout.vectorizer.sparsevectorsfromsequencefiles.run(sparsevectorsfromsequencefiles.java:257) @ org.apache.hadoop.util.toolrunner.run(toolrunner.java:65) @ com.hello.mahout.myzfuzzykmeans.vectorize(myzfuzzykmeans.java:100) @ com.hello.mahout.myzfuzzykmeans.main(myzfuzzykmeans.java:55) @ 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.codehaus.mojo.exec.execjavamojo$1.run(execjavamojo.java:293) @ java.lang.thread.run(thread.java:679)

blockquote

i have created vector dir , programme delets dir , fails exception filenotfound .

can please help resolving issue .

thanks :)

mahout running on distributed file scheme instead of local file scheme on default. when run mahout command, hadoop seek find files on hdfs instead of on local. thus, should follows:

cd mahout/bin directory vi mahout find line "#mahout_local=true;" , alter "mahout_local=true;" source mahout

then should work on local now.

hadoop mahout

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -