Hey Jinyuan,
I'm having the same issue and want to solve with the light version.
How are you doing this part `hadoop classpath` to ES_CLASSPATH?
I tried to exec `hadoop class' path and added the result to export
ES_CLASSPATH=pasted output but getting same error, is that what you ment?
Thank
Yes. the output of hadoop classpath should give you a list of jars that
a Hadoop client needed to talk to hadoop cluster. as long as you put these
in Elasticsearch's classpath, it should eliminate many common issues like
wrong version of jar get loaded or a wrong hadoop client version is used
I had a similar scenario, running CDH 4.6, unable to initialise the
repository with hadoop2 version and started changing gradle as Brent
suggests. However, maintaining our own version was a bit too much in our
case.
As Costin pointed to me here
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
Hi Jinyuan Zhou,
I am also having the same issue...
On Tuesday, July 8, 2014 3:12:04 AM UTC+5:30, Jinyuan Zhou wrote:
I am using elasticsearch 1.2.1 and CDH 4.6. quick start vm. My ES server
is installed on the same vm.
I have one successful senario: I used light version and add the
I am using elasticsearch 1.2.1 and CDH 4.6. quick start vm. My ES server is
installed on the same vm.
I have one successful senario: I used light version and add the result and
command `hadoop classpath` to ES_CLASSPATH
But I encoutered errros with the default version and hadoop2 version.