hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thushara Wijeratna <thu...@gmail.com>
Subject compiling hadoop
Date Mon, 27 Apr 2009 23:03:11 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message