You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Pedro Sá da Costa <ps...@gmail.com> on 2013/01/19 16:31:36 UTC
Save configuration data in job configuration file.
Hi
I want to save some configuration data in the configuration files that
belongs to the job. How can I do it?
--
Best regards,
Re: Save configuration data in job configuration file.
Posted by Harsh J <ha...@cloudera.com>.
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 <ps...@gmail.com>wrote:
> 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 <ac...@hortonworks.com> wrote:
> > jobConf.set(String, String)?
>
>
>
>
> --
> Best regards,
>
--
Harsh J
Re: Save configuration data in job configuration file.
Posted by Pedro Sá da Costa <ps...@gmail.com>.
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 <ac...@hortonworks.com> wrote:
> jobConf.set(String, String)?
--
Best regards,
Re: Save configuration data in job configuration file.
Posted by Arun C Murthy <ac...@hortonworks.com>.
jobConf.set(String, String)?
On Jan 19, 2013, at 7:31 AM, Pedro Sá da Costa wrote:
> Hi
>
> I want to save some configuration data in the configuration files that
> belongs to the job. How can I do it?
>
> --
> Best regards,
--
Arun C. Murthy
Hortonworks Inc.
http://hortonworks.com/