Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Can't set stream.addenvironment in job configuration file

Copy link to this message
Can't set stream.addenvironment in job configuration file
I'm trying to submit a streaming job using the -conf option to specify
a job configuration file.
One of the options in my configuration file is stream.addenvironment  
but this option doesn't appear to be getting set; i.e when I run the  
job and use the web interface to look at job.xml this property is  
Does anybody have any ideas?
My jobconf file is:
<property><name>stream.addenvironment</name><value>"dumbo_mrbase_class=dumbo.backends.common.MapRedBase dumbo_jk_class=dumbo.backends.common.JoinKey dumbo_runinfo_class=dumbo.backends.streaming.StreamingRunInfo  

Is it possible that the value I set for stream.addenvironment in the
job configuration file is overwritten by the call
in StreamJob.setJobConf()?

I'm using CDH3B.