sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pablo Iglesias Morales <mandameloalcor...@gmail.com>
Subject unable to find method getOptions in SqoopParser.java
Date Wed, 09 May 2012 14:30:03 GMT
Running sqoop export inside java class I got this exception:

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.sqoop.cli.SqoopParser.getOptions()Lorg/apache/commons/cli/Options;

       at org.apache.sqoop.cli.SqoopParser.processArgs(SqoopParser.java:73)

       at org.apache.commons.cli.Parser.processOption(Parser.java:410)

       at org.apache.commons.cli.Parser.parse(Parser.java:193)

       at org.apache.commons.cli.Parser.parse(Parser.java:112)

       at org.apache.sqoop.tool.SqoopTool.parseArguments(SqoopTool.java:432)

       at org.apache.sqoop.Sqoop.run(Sqoop.java:129)

       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)

       at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)

       at org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)

       at org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)



I tried to find the getOptions method in SqoopParser.java but doesn't
exists. The version I use is 1.4.1-incubating.

┬┐Any idea to solve it?

Thanks.

-- 
There are 10 types of people in the world:
Those who understand binary, and those who don't.

Mime
View raw message