I am not able to configure hadoop for stand alone operation.
When i am doing cp conf/*.xml input, i am getting these errors:
cp: cannot create regular file input/capacity-scheduler.xml': Permission denied
cp: cannot create regular file
input/core-site.xml': Permission denied
cp: cannot create regular file input/fair-scheduler.xml': Permission denied
cp: cannot create regular file
input/hadoop-policy.xml': Permission denied
cp: cannot create regular file input/hdfs-site.xml': Permission denied
cp: cannot create regular file
input/mapred-queue-acls.xml': Permission denied
cp: cannot create regular file `input/mapred-site.xml': Permission denied
And after that when i am doing bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+',i am getting these errors:
/cygdrive/d/hadoop-1.2.1/libexec/../conf/hadoop-env.sh: line 55: $'\r': command not found Error: JAVA_HOME is not set. I have edited the env.sh file and have set the JAVA_HOME.
Can anyone suggest me something?