Re: Save configuration data in job configuration file.

2013-01-20 Thread Pedro Sá da Costa
This does not save in the xml file. I think this just keep the
variable in memory.

On 19 January 2013 18:48, Arun C Murthy a...@hortonworks.com wrote:
 jobConf.set(String, String)?




-- 
Best regards,


Re: Save configuration data in job configuration file.

2013-01-20 Thread Harsh J
The MR framework saves it into the job.xml before it sends it for execution.

If you're asking about a way to save the config object into the XML file,
use
http://hadoop.apache.org/docs/current/api/org/apache/hadoop/conf/Configuration.html#writeXml(java.io.Writer)or
similar APIs.


On Sun, Jan 20, 2013 at 4:41 PM, Pedro Sá da Costa psdc1...@gmail.comwrote:

 This does not save in the xml file. I think this just keep the
 variable in memory.

 On 19 January 2013 18:48, Arun C Murthy a...@hortonworks.com wrote:
  jobConf.set(String, String)?




 --
 Best regards,




-- 
Harsh J