You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Johannens Zillmann <jz...@googlemail.com> on 2008/12/03 09:39:00 UTC
JobConf-to-XML
Hi everybody,
does anybody know if there exists a tool which writes a JobConf
instance back to xml in hadoop-site.xml format ?
cheers
Johannes
Re: JobConf-to-XML
Posted by Johannes Zillmann <jz...@101tec.com>.
Thanks Tom,
just discovered that !
Johannes
On Dec 3, 2008, at 9:47 AM, Tom White wrote:
> There's a writeXml() method (or just write() in earlier releases) on
> Configuration which should do what you need. Also see Configuration's
> main() method.
>
> Tom
>
> On Wed, Dec 3, 2008 at 8:39 AM, Johannens Zillmann
> <jz...@googlemail.com> wrote:
>> Hi everybody,
>>
>> does anybody know if there exists a tool which writes a JobConf
>> instance
>> back to xml in hadoop-site.xml format ?
>>
>> cheers
>> Johannes
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101tec GmbH
Halle (Saale), Saxony-Anhalt, Germany
http://www.101tec.com
Re: JobConf-to-XML
Posted by Tom White <to...@gmail.com>.
There's a writeXml() method (or just write() in earlier releases) on
Configuration which should do what you need. Also see Configuration's
main() method.
Tom
On Wed, Dec 3, 2008 at 8:39 AM, Johannens Zillmann
<jz...@googlemail.com> wrote:
> Hi everybody,
>
> does anybody know if there exists a tool which writes a JobConf instance
> back to xml in hadoop-site.xml format ?
>
> cheers
> Johannes
>