I'm almost done with reproducing CDH twitter example, and at the moment it fails at this point:
sudo oozie job -oozie http://localhost:11000/oozie -config ~/oozie/oozie-workflows
/job.properties -run
with
Error: HTTP error code: 500 : Internal Server Error
The job.properties
file says
nameNode=hdfs://hadoop1:8020
jobTracker=hadoop1:8021
workflowRoot=${nameNode}/user/${user.name}/oozie-workflows
and oozie logs say
ERROR V1JobsServlet:536 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] URL[POST
http://localhost:11000/oozie/v1/jobs?action=start] error,
java.net.UnknownHostException: hadoop1
java.lang.IllegalArgumentException: java.net.UnknownHostException: hadoop1
I think the nameNode line just has to be edited, but I can't see how exactly. It's probably quite simple.
in the place of Hadoop1 against jobtracker and namenode properties,please give ipadress .
it is unable to resolve hadoop1.