Hi all,

I am using a custom action  which is extension of java action , but I
cannot set java-opts .

So my query is if setting map.child.java.opts has similar effect as
java-opts

because from the code of JavaActionExecuter i read its mapped to
mapred.child.java.opts

or its the oozie.launcher.mapred.child.java.opts property I need to set.

Here is how my workflow looks like

<job-tracker>abc.com:9001</job-tracker>
  <name-node>hdfs://abc.com:9000</name-node>
  <configuration>
    <property>
      <name>mapred.child.java.opts</name>
      <value>-Xmx5G -Xms2G</value>
    </property>
    <property>
      <name>oozie.launcher.mapred.child.java.opts</name>
      <value>-Xmx5G -Xms2G</value>
    </property>
    <property>
      <name>mapred.compress.map.output</name>
      <value>true</value>
    </property>
    <property>
      <name>mapred.job.queue.name</name>
      <value>default</value>
    </property>
  </configuration>

Reply via email to