|
Mlimotte |
at Apr 27, 2009 at 8:37 pm
|
⇧ |
| |
I think what you want is the section "Task Execution & Environment" in
http://hadoop.apache.org/core/docs/current/mapred_tutorial.htmlhttp://hadoop.apache.org/core/docs/current/mapred_tutorial.html . Here is a
sample from that document:
<property>
<name>mapred.child.java.opts</name>
<value>
-Xmx512M -Djava.library.path=/home/mycompany/lib -verbose:gc
-Xloggc:/tmp/@taskid@.gc
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
</value>
</property>
-Marc
Tarandeep wrote:
Hi,
While submitting a job to Hadoop, how can I set system properties that are
required by my code ?
Passing -Dmy.prop=myvalue to the hadoop job command is not going to work
as
hadoop command will pass this to my program as command line argument.
Is there any way to achieve this ?
Thanks,
Taran
*
*
--
View this message in context:
http://www.nabble.com/How-to-set-System-property-for-my-job-tp18896188p23264520.htmlSent from the Hadoop core-user mailing list archive at Nabble.com.