FAQ
Hi,
GenericOptionsParser is customized only for Hadoop specific params :

* <code>GenericOptionsParser</code> recognizes several standarad command
* line arguments, enabling applications to easily specify a namenode, a
* jobtracker, additional configuration resources etc.

Ideally, all params must be passed via Tool interface. In my application, I have a custom serialiizer/deseralizer classes to parse any xml file I might be supplying, which I use to generate some metadata. This can be a part of the above interface as well. Hope this helps.

Thanks,
Amogh
-----Original Message-----
From: ishwar ramani
Sent: Friday, August 21, 2009 1:38 AM
To: common-user
Subject: passing job arguments as an xml file

Hi,

I am looking at an easy way to passing the job arguments trough a config file.
The genericoptionsparser seems to parse only the hadoop options.

Normally i use jsap but that would not co-exist with genericoptionsparser ....

thanks
ishwar

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupcommon-user @
categorieshadoop
postedAug 20, '09 at 8:08p
activeAug 21, '09 at 5:56a
posts2
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Amogh Vasekar: 1 post Ishwar ramani: 1 post

People

Translate

site design / logo © 2022 Grokbase