I am trying to run this script on for running map reduce on hadoop. But when I run this script, it is giving me the error attached in the screen shot.Script:rm -rf /home/sk/Desktop/abc/wordcountc/rm /home/sk/Desktop/abc/wordcountj.jarmkdir /home/sk/Desktop/abc/wordcountc/sudo chmod 777 /home/sk/Desktop/abc/wordcountccd /usr/local/hadoopstart-dfs.shstart-yarn.shjpsbin/hdfs dfs -rm -r -skipTrash /userbin/hdfs dfs -rm -r -skipTrash /optbin/hdfs dfs -rm -r -skipTrash /opt2bin/hdfs dfs -mkdir /userbin/hdfs dfs -put '/home/sk/Desktop/input' /usercd /home/sk/Desktop/abc/javac -classpath /usr/local/hadoop/share/hadoop/common/hadoop-common-2.7.0.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.7.0.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-cli-1.2.jar -d /home/sk/Desktop/abc*.javamv /home/sk/Desktop/abc/*.class /home/sk/Desktop/abc/wordcountc/cd /home/sk/Desktop/abcjar -cvf wordcountj.jar -C /home/sk/Desktop/abc/wordcountc .cd /usr/local/hadoopbin/hadoop jar /home/sk/Desktop/abc/wordcountj.jar  OutDegree  /user/input outputwcLet me know where is my mistake so class is not being generated.
Linux Hadoop shell script giving .class error
linux;bash;shell script;scripting;hadoop