You are running yarn ?
Check your jobtracker port if that is correct in oozie
On 29 Oct 2015 7:25 PM, "tkg_cangkul" <[email protected]> wrote:
> hi i try to submit mapreduce job using oozie but i have error message
> below:
>
> [TRANSIENT], ErrorCode [JA009], Message [JA009: Cannot initialize Cluster.
> Please check your configuration for mapreduce.framework.name and the
> correspond server addresses.]
> org.apache.oozie.action.ActionExecutorException: JA009: Cannot initialize
> Cluster. Please check your configuration for mapreduce.framework.name and
> the correspond server addresses.
> at
> org.apache.oozie.action.ActionExecutor.convertExceptionHelper(ActionExecutor.java:412)
>
> i've been check all my hadoop & oozie conf and i think it was right. when
> i try to run hadoop jar manually without oozie the proccess work normally.
> pls help
>
> this is my workflow.xml
>
> <workflow-app xmlns="uri:oozie:workflow:0.2" name="20150818111113">
> <start to="java-node"/>
> <action name="java-node">
> <java>
> <job-tracker>localhost:8032</job-tracker>
> <name-node>hdfs://localhost:8020</name-node>
> <configuration>
> <property>
> <name>mapred.job.queue.name</name>
> <value>default</value>
> </property>
> <property>
> <name>mapreduce.framework.name</name>
> <value>yarn</value>
> </property>
> <property>
> <name>oozie.launcher.mapred.job.queue.name</name>
> <value>default</value>
> </property>
> </configuration>
> <main-class>coba.order</main-class>
> <java-opts></java-opts>
> <arg>/user/bsmash/yztest_oozie/data01.dat</arg>
> <arg>/user/bsmash/yztest_oozie/out</arg>
> <file>/user/bsmash/yztest_oozie/coba.jar</file>
> <capture-output />
> </java>
> <ok to="end"/>
> <error to="fail"/>
> </action>
> <kill name="fail">
> <message>Java failed, error
> message[${wf:errorMessage(wf:lastErrorNode()</message>
> </kill>
> <end name="end"/>
> </workflow-app>
>
> and this is my job.properties file:
>
> nameNode=hdfs://localhost:8020
> jobTracker=localhost:8032
> queueName=default
> oozie.use.system.libpath=true
> oozie.processing.timezone=WIB
> oozie.wf.application.path=${nameNode}/user/bsmash/yztest_oozie/workflow.xml
>
>