hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: GenericOptionsParser warning
Date Fri, 20 Feb 2009 11:24:59 GMT
Rasit OZDAS wrote:
> Hi,
> There is a JIRA issue about this problem, if I understand it correctly:
> https://issues.apache.org/jira/browse/HADOOP-3743
> 
> Strange, that I searched all source code, but there exists only this control
> in 2 places:
> 
> if (!(job.getBoolean("mapred.used.genericoptionsparser", false))) {
>       LOG.warn("Use GenericOptionsParser for parsing the arguments. " +
>                "Applications should implement Tool for the same.");
>     }
> 
> Just an if block for logging, no extra controls.
> Am I missing something?
> 
> If your class implements Tool, than there shouldn't be a warning.

OK, for my automated submission code I'll just set that switch and I 
won't get told off.

Mime
View raw message