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 [mailto:rvmish...@gmail.com] 
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

Reply via email to