>Trying to run a java action (this is the driver class for running a map
>reduce job) 

Here is my workflow xml
<action name ="loaddata">
        <java>
        <job-tracker>${jobTracker}</job-tracker>
        <name-node>${nameNode}</name-node>
        <job-xml>${workflowRoot}/hive-site.xml</job-xml>
        <configuration>
        <property>
                  <name>mapred.job.queue.name</name>
                  <value>${queueName}</value>
                </property>
                 <property>
                   <name>oozie.action.max.output.data</name>
                   <value>100000</value>
               </property>
  <property>
    <name>mapreduce.reduce.memory.mb</name>
    <value>4096</value>
  </property>
  <property>
    <name>mapreduce.reduce.java.opts</name>
    <value>-Xms4g -Xmx4g</value>
  </property>
  <property>
    <name>mapreduce.map.memory.mb</name>
    <value>4096</value>
  </property>
  <property>
    <name>mapreduce.map.java.opts</name>
    <value>-Xmx4g -Xms4g</value>
  </property>
<property>
  <name>oozie.launcher.mapred.child.java.opts</name>
<value>-Xmx2048m</value>
</property>
<property>
    <name>hcat.metastore.maxpartitions</name>
    <value>200000</value>
  </property>
        </configuration>
        <main-class>x.y.z.ParseXTables</main-class>
       <java-opts>-Xmx4g -Xms4g</java-opts>
        <arg>-conf</arg>
        <arg>defaultconf.xml</arg>
<file>${workflowRoot}/hive-site.xml</file>
        <file>lib/${EXEC}#${EXEC}</file>
        <file>${workflowRoot}/defaultconf.xml</file>
        <capture-output/>
        </java>
         <ok to="mark-daily-job-success" />
         <error to="fail" />
        </action>



I am getting this error in the attempt log, I am thinking this happens
when oozie launcher tries to run

>From the job history the job_1409808477902_0089_conf.xml  shows
mapreduce.map.memory.mb 2151


Wondering why did it not get propagated from the oozie workflow setting
and should have been 4096.
 
Not sure what else I have missied.
Will appreciate any clue on this.
Thanks
Sathi



Reply via email to