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 ReadHadoop. It basically just
reads a file and outputs its contents into the cygwin command window. I have
hadoop set up correctly. When I execute the command bin/start-all.sh and
check localhost/50070 and 50030 everything is working correctly. What causes
this error. Any help would be GREAT!!!!!!!
-- 
View this message in context: 
http://old.nabble.com/Hadoop-java.io.IOexception%3A-Cannot-open-filename-tp34027586p34027586.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

Reply via email to