I currently have a Executable Jar made by eclipse.

I am currently able to tell this program to run its embedded program in
local or mapreduce mode.

I can run my jobs in local with no problems, and get the desired results.

However when I try to run it in mapreduce mode, I have issues; it states it
cannot find the hadoop-core.xml nor site-core.xml configuration files on the
classpath


Here are the steps I have taken to debug

checked the 'System.getProperty("java.class.path")'  returns executable.jar


So I execute
'java -cp $HADOOPCONFDIR -jar executable.jar -x mapreduce'

again 'System.getProperty("java.class.path")'  returns executable.jar

feed up, I implement my own way of appending to the class path creatively

'java -jar executable.jar -x mapreduce -cp $HADOOPCONFDIR'

now 'System.getProperty("java.class.path")'  returns
executable.jar:$HADOOPCONFDIR

but I still get an error
cannot find the hadoop-core.xml nor site-core.xml


Save this computers life,

AGWELLS

Reply via email to