Otherwise, please use TRUNK version. I'll add input generator soon. On Fri, Feb 1, 2013 at 4:16 PM, Edward J. Yoon <[email protected]> wrote: > Do you have a text or sequence input file in /hama/input directory? > > On Fri, Feb 1, 2013 at 3:47 PM, Anbarasan Murthy <[email protected]> wrote: >> I am getting exception messages when I tried executing HAMA KMeans machine >> learning algorithm. >> >> $ bin/hama jar hama-examples-0.6.0.jar kmeans /hama/input/ /hama/output 10 6 >> -g 600 60 >> N: 600 Dimension: 60 Iterations: 10 >> java.io.FileNotFoundException: /hama/input/center/.cen.seq.crc (Permission >> denied) >> at java.io.FileOutputStream.open(Native Method) >> at java.io.FileOutputStream.<init>(FileOutputStream.java:209) >> at >> org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:188) >> at >> org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:184) >> at >> org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:255) >> at >> org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:236) >> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:536) >> at >> org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer.<init>(ChecksumFileSystem.java:338) >> at >> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:381) >> at >> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:364) >> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:555) >> at >> org.apache.hadoop.io.SequenceFile$Writer.<init>(SequenceFile.java:892) >> at >> org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:393) >> at >> org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:284) >> at >> org.apache.hama.ml.kmeans.KMeansBSP.prepareInput(KMeansBSP.java:462) >> at org.apache.hama.examples.Kmeans.main(Kmeans.java:85) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:616) >> at >> org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) >> at >> org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) >> at org.apache.hama.examples.ExampleDriver.main(ExampleDriver.java:40) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:616) >> at org.apache.hama.util.RunJar.main(RunJar.java:147) >> >> >> Need help in this regard. >> >> >> Thanks, >> Anbu. >> >> >> >> >> ::DISCLAIMER:: >> ---------------------------------------------------------------------------------------------------------------------------------------------------- >> >> The contents of this e-mail and any attachment(s) are confidential and >> intended for the named recipient(s) only. >> E-mail transmission is not guaranteed to be secure or error-free as >> information could be intercepted, corrupted, >> lost, destroyed, arrive late or incomplete, or may contain viruses in >> transmission. The e mail and its contents >> (with or without referred errors) shall therefore not attach any liability >> on the originator or HCL or its affiliates. >> Views or opinions, if any, presented in this email are solely those of the >> author and may not necessarily reflect the >> views or opinions of HCL or its affiliates. Any form of reproduction, >> dissemination, copying, disclosure, modification, >> distribution and / or publication of this message without the prior written >> consent of authorized representative of >> HCL is strictly prohibited. If you have received this email in error please >> delete it and notify the sender immediately. >> Before opening any email and/or attachments, please check them for viruses >> and other defects. >> >> ---------------------------------------------------------------------------------------------------------------------------------------------------- > > > > -- > Best Regards, Edward J. Yoon > @eddieyoon
-- Best Regards, Edward J. Yoon @eddieyoon
