I am very new to Hadoop and was trying to run my first MapReduce program.
I have used Java to write the classes using external Hadoop jar files (ver 1.3) and created an executable jar file using eclipse. I moved the jar file into EC2 hadoop instance (ver 2.7). But, while executing, I am getting the below error -
-bash: bin/hadoop: cannot execute binary file
I am using the below command in Hadoop -
bin/hadoop jar createNgram.jar com.hadoop.exam.createNGramDriver1 /home/ec2-user/testData /home/ec2-user/testData-output 3
Any idea on how can I resolve the error will help me to continue my learning.
Thanks & Regards,