Is /home/allelb really a directory on HDFS? or your local file system? sounds like the latter, but you are accessing it as an HDFS location
On Wed, Jun 27, 2012 at 4:28 PM, AllelB <[email protected]> wrote: > Hello > when i execute classifify-20newgroup.sh I have this Error : > > 2/06/27 17:18:59 INFO mapred.JobClient: Task Id : > attempt_201206271620_0056_m_000000_0, Status : FAILED > java.io.FileNotFoundException: File does not exist: > /home/allelb/tmp/naiveBayesModel.bin > at > org.apache.hadoop.hdfs.DFSClient$DFSInputStream.openInfo(DFSClient.java:1843) > at > org.apache.hadoop.hdfs.DFSClient$DFSInputStream.<init>(DFSClient.java:1834) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:578) > at > org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:154) > at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:427) > at > org.apache.mahout.classifier.naivebayes.NaiveBayesModel.materialize(NaiveBayesModel.java:108) > at > org.apache.mahout.classifier.naivebayes.test.BayesTestMapper.setup(BayesTestMapper.java:49) > at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:142) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370) > at org.apache.hadoop.mapred.Child$4.run(Child.java:255) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121) > at org.apache.hadoop.mapred.Child.main(Child.java:249) > > attempt_201206271620_0056_m_000000_0: Setup > attempt_201206271620_0056_m_000000_0: log4j:WARN No appenders could be found > for logger (org.apache.hadoop.hdfs.DFSClient). > attempt_201206271620_0056_m_000000_0: log4j:WARN Please initialize the log4j > system properly. > 12/06/27 17:19:05 INFO mapred.JobClient: Task Id : > attempt_201206271620_0056_m_000000_1, Status : FAILED > java.io.FileNotFoundException: File does not exist: > /home/allelb/tmp/naiveBayesModel.bin > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Error-Classify-20newsgroupe-naiveBayesModel-bin-tp3991605.html > Sent from the Mahout Developer List mailing list archive at Nabble.com.
