hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hairong Kuang <hair...@yahoo-inc.com>
Subject Re: compiling hadoop
Date Tue, 28 Apr 2009 18:37:44 GMT
You should use the cli jar that goes with hadoop distribution under
directory "lib".

Hairong


On 4/27/09 4:03 PM, "Thushara Wijeratna" <thushw@gmail.com> wrote:

> hi,
> 
> i can't compile hadoop/util/GenericOptionsParser.java as there seems to be
> no method called:
> OptionBuilder.withArgPattern
> 
> this bit fails:
> 
>     Option property = OptionBuilder.withArgName("property=value")
>     .hasArgs()
>     .withArgPattern("=", 1)
>     .withDescription("use value for given property")
>     .create('D');
> 
> with:
> 
> cannot find symbol method withArgPattern(java.lang.String,int)
> 
> this may be a new method in commons CLI that is not available in the 1.2
> version. where do i find this?
> 
> thanks,
> thushara


Mime
View raw message