I think I have this one fixed - the problem was the JobTracker port is 8050, not 8021.
Regards, Charles On 25 August 2014 15:32, Charles Robertson <[email protected]> wrote: > Hi all, > > I have successfully submitted my first oozie job, but when I try to run > it, the first action fails with the following error: > > JA009: Cannot initialize Cluster. Please check your configuration for > mapreduce.framework.name and the correspond server addresses. > > This is the action config: > <shell xmlns="uri:oozie:shell-action:0.1"> > <job-tracker>localhost:8021</job-tracker> > <name-node>localhost:8020</name-node> > <exec>hadoop fs -cp /user/root/data_backup/test1 > /user/flume/tweets/test1</exec> > </shell> > > The contents of the job.properties file is: > nameNode=hdfs://[EC2 private DNS name]:8020 > jobTracker=localhost:8021 > queueName=default > oozie.libpath=${nameNode}/user/oozie/share/lib > oozie.wf.application.path=${nameNode}/user/root/oozie > > This is on a single-node cluster with HDP 2.1, oozie version 4.0.0. > > In the config (accessed via Ambari website) the map reduce config has a > property called 'mapreduce.framework.name' which is set to 'yarn', but > the oozie config has no similar property. > > Googling for this error didn't produce much useful, except this from the > archives of this mailing list: > https://mail-archives.apache.org/mod_mbox/oozie-user/201211.mbox/%[email protected]%3E > > Unfortunately this isn't strictly the same issue, and to be honest, I > don't know where tomcat/lib would be (my guess is /etc/tomcat, but that > doesn't exist.) > > Can anyone suggest anything to try? > > Many thanks, > Charles >
