I am trying to execute sqoop task using oozie. Code structure looks like this
I have a job.properties file on my local file system, which I use to submit oozie job. Job.properties file is as follows
namenode=hdfs://servername:8020
jobtracker=servername:8021
queuename=default
oozie.wf.application.path=${namenode}/user/username/oozie
Command, I am using to submit job is
oozie job -oozie http://localhost:11000/oozie \PATH\job.properties -run
I have my workflow.xml at HDFS path as mentioned in properties application path (/user/username/oozie). With workflow.xml at HDFS folder, I have copied sqljdbc4.jar too.
Once I submit my job, I get this error in my oozie.log file.
Caused by: java.net.ConnectionException: Call to
servername/10.248.92.1:8021 failed on connection exception:
I am not sure, what is causing this exception. One weird thing is that this ip address: 10.248.92.1 is for the same server name.