Re: Hadoop java.io.IOexception: Cannot open filename

2012-07-24 Thread minumichael
Hi, check if you have given the correct input filepath. Or check out by giving other file types or removing the .txt extension. -- View this message in context: http://old.nabble.com/Hadoop-java.io.IOexception%3A-Cannot-open-filename-tp34027586p34208589.html Sent from the Hadoop core-user mail

Re: Hadoop java.io.IOexception: Cannot open filename

2012-06-17 Thread xiaodong feng
try bin/hadoop fs -ls / if it not get error ,you could bin/hadoop fs -mkdir data .good luck 2012/6/18 Zach > > > When I try bin/hadoop fs -ls /data i get ls: Cannot access /data: No such > file > or directory. For some reason I am not in my /usr/local/hadoop/ file > directory. > How

Re: Hadoop java.io.IOexception: Cannot open filename

2012-06-17 Thread Zach
When I try bin/hadoop fs -ls /data i get ls: Cannot access /data: No such file or directory. For some reason I am not in my /usr/local/hadoop/ file directory. How can I change this... Thank you

Re: Hadoop java.io.IOexception: Cannot open filename

2012-06-17 Thread Preethi Vinayak Ponangi
Hi, Could you please check if your file /data/input.txt is present on HDFS? The above error only means that the file is not present on the Hadoop file system. try a command: hadoop fs -ls /data See if input.txt is present. Regards, Vinayak. On Sun, Jun 17, 2012 at 8:27 PM, jokkycaz wrote: >

Hadoop java.io.IOexception: Cannot open filename

2012-06-17 Thread jokkycaz
I am encountering this error Exception in thread "main" java.io.IOException: Cannot open filename /data/input.txt When trying to run this command on a single hadoop cluster running hadoop .20.2 bin/hadoop jar sample.jar ReadHadoop /data/input.txt I am trying to run a .jar java program called R