<job-tracker> and <name- node> in oozie pig configuration - where can I find them?
I am trying to start my first oozie workflow, a simple action <pig>.
Can anyone help with these two tags:
<job-tracker>[JOB-TRACKER]</job-tracker>
<name-node>[NAME-NODE]</name-node>
As I understand it, the parameters relate to the existing configuration.
I am using a preconfigurered environment, so can you help where to find these values?
Regards
Pawel
+4
1 answer
If you have access to the Hadoop conf files, open core-site.xml to find the node name from the property below.
<property>
<name>fs.default.name</name>
<value>hdfs://ec2-1-1-1-1.compute-1.amazonaws.com:9000</value>
</property>
Open the mapred-site.xml file to find the job tracker.
<property>
<name>mapred.job.tracker</name>
<value>ec2-1-1-1-1.compute-1.amazonaws.com:54311</value>
</property>
.
nameNode=hdfs://ec2-1-1-1-1.compute-1.amazonaws.com:9000
jobTracker=ec2-1-1-1-1.compute-1.amazonaws.com:54311
+8