New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing commons-cli dependency? #288
Comments
We just encountered the same problem. |
We had the same issue. We're also running CDH 4.6, which expects a different hadoop client. We fixed these by grabbing the source, removing the 'exclude module: "commons-cli"' from repository-hdfs/build.gradle, setting 'hadoop2Version = 2.0.0-cdh4.6.0' in gradle.properties (and set the esVersion and luceneVersions for good measure), and building our own zip: You can install this with: Hope this helps. |
@bhalsey thanks for that, but I'm still hoping to get the plain vanilla version going :) |
Hi folks, I've added commons-cli to the Hadoop2 jar and published the snapshots - can you try it out? @bhalsey if the dependencies for Hadoop2 are not correct for your environment, why don't you try the slim/light jar and put the Hadoop2 in your classpath? |
As there hasn't been any update regarding the fix, I'm closing the issue. Please re-open it, if that's not the case. |
@costin sorry about taking so long to give feedback. Just installed snapshot for v2.0.2 and it still seems to have the same problem.
Am I doing something wrong here? |
What elasticsearch version do you plan on using? If you're using 1.4 try 2.1 Beta2 otherwise the latest 2.0.3.BUILD-SNAPSHOT - looks like the fix was not applied to 2.0.2. |
with 2.0.3-snapshot seems to work fine. Any idea when it will be released? Thanks.
|
Considering 2.0.2 was released yesterday, probably in 1-2 months from now... On 10/9/14 8:00 PM, leonardo menezes wrote:
|
Hey,
Just installed v2.0.1(hadoop2) on a elasticsearch v1.0.3, and while trying to create a repository, I just got a 500 with NoClassDefFoundError[org/apache/commons/cli/ParseException.
Adding the lib manually fixed it, but I'm trying to figure out if:
any thoughts? :)
The text was updated successfully, but these errors were encountered: