Re: System property in hadoop

2010-04-30 Thread Alex Kozlov
Hi Deepika, If you want to pass a java system property to a task running on a tasktracker, you should set *mapred.child.java.opts *in a Hadoop Configurationobject like: *$ hadoop jar -D mapred.child.java.

System property in hadoop

2010-04-30 Thread Deepika Khera
Hi, I want to add a Java System property that a running reduce task should be able to read . I added it to the hadoop-env.sh script in the HADOOP_OPTS. So, like export HADOOP_OPTS="-Dmy.file.name=/abc/def.properties" But still the task is not able to read the property (System.getProperty("my.