Issue with elastic search river plugin

Hi,all

when load data to elastic search using river, I always get the error:
ClassNotFoundException.

The fellow is the error description:
The elastic search has 3 nodes,their ip is 192.168.71.234,192.168.71.235
and 192.168.71.236
First, Install the river plugin, the 3 node return right, and the
${elasticsearch.home}/plugins directory has the plugin.
Second, execute the curl command:
curl -XPUT '192.168.71.236:9201/_river/myhadoop/_meta' -d '{
"type":"hadoop",
"hadoop":{
"path":"/user/test/appinfo/2014-09-15",
},
"index":{
"index":"dmp2",
"type":"tag",
"sha":true
}
}'
Finally, i get the river status,but get error:
{
"_index" : "_river",
"_type" : "myhadoop",
"_id" : "_status",
"_version" : 1,
"found" : true,
"_source":{"error":"NoClassSettingsException[Failed to load class with
value [hadoop]]; nested: ClassNotFoundException[hadoop];
","node":{"id":"ECzwbXLPTnqP5Ch4IQTAVg","name":"node71-235-open","transport_address":"inet[localhost/192.168.71.235:9600]"}}
}

what is the problem here?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c471df95-4602-4514-bcd5-97dfbc9cb0ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Did you restart your nodes?

--
David Pilato | Technical Advocate | elasticsearch.com
david.pilato@elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 26 septembre 2014 à 09:43:10, kexu xu (xukexu9@gmail.com) a écrit:

Hi,all

when load data to elastic search using river, I always get the error: ClassNotFoundException.

The fellow is the error description:
The elastic search has 3 nodes,their ip is 192.168.71.234,192.168.71.235 and 192.168.71.236
First, Install the river plugin, the 3 node return right, and the ${elasticsearch.home}/plugins directory has the plugin.
Second, execute the curl command:
curl -XPUT '192.168.71.236:9201/_river/myhadoop/_meta' -d '{
"type":"hadoop",
"hadoop":{
"path":"/user/test/appinfo/2014-09-15",
},
"index":{
"index":"dmp2",
"type":"tag",
"sha":true
}
}'
Finally, i get the river status,but get error:
{
"_index" : "_river",
"_type" : "myhadoop",
"_id" : "_status",
"_version" : 1,
"found" : true,
"_source":{"error":"NoClassSettingsException[Failed to load class with value [hadoop]]; nested: ClassNotFoundException[hadoop]; ","node":{"id":"ECzwbXLPTnqP5Ch4IQTAVg","name":"node71-235-open","transport_address":"inet[localhost/192.168.71.235:9600]"}}
}

what is the problem here?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c471df95-4602-4514-bcd5-97dfbc9cb0ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.542599fe.515f007c.5f84%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.

No, I don't restart all nodes. But when install river plugin, do i need
restart nodes? How dose the elastic search server load the river plugin?

在 2014年9月27日星期六UTC+8上午12时53分44秒,David Pilato写道:

Did you restart your nodes?

--
David Pilato | Technical Advocate | elasticsearch.com
http://elasticsearch.com

david....@elasticsearch.com <javascript:>
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr | @scrutmydocs
http://twitter.com/scrutmydocs
https://twitter.com/scrutmydocs

Le 26 septembre 2014 à 09:43:10, kexu xu (xuk...@gmail.com <javascript:>)
a écrit:

Hi,all

when load data to elastic search using river, I always get the error:
ClassNotFoundException.

The fellow is the error description:
The elastic search has 3 nodes,their ip is 192.168.71.234,192.168.71.235
and 192.168.71.236
First, Install the river plugin, the 3 node return right, and the
${elasticsearch.home}/plugins directory has the plugin.
Second, execute the curl command:
curl -XPUT '192.168.71.236:9201/_river/myhadoop/_meta' -d '{
"type":"hadoop",
"hadoop":{
"path":"/user/test/appinfo/2014-09-15",
},
"index":{
"index":"dmp2",
"type":"tag",
"sha":true
}
}'
Finally, i get the river status,but get error:
{
"_index" : "_river",
"_type" : "myhadoop",
"_id" : "_status",
"_version" : 1,
"found" : true,
"_source":{"error":"NoClassSettingsException[Failed to load class with
value [hadoop]]; nested: ClassNotFoundException[hadoop];
","node":{"id":"ECzwbXLPTnqP5Ch4IQTAVg","name":"node71-235-open","transport_address":"inet[localhost/
192.168.71.235:9600]"}}
}

what is the problem here?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c471df95-4602-4514-bcd5-97dfbc9cb0ad%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/c471df95-4602-4514-bcd5-97dfbc9cb0ad%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7d333649-3f84-4559-9571-9a806276400f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yes you need to restart nodes when installing a 'Java' plugin.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 28 sept. 2014 à 03:21, kexu xu xukexu9@gmail.com a écrit :

No, I don't restart all nodes. But when install river plugin, do i need restart nodes? How dose the elastic search server load the river plugin?

在 2014年9月27日星期六UTC+8上午12时53分44秒,David Pilato写道:

Did you restart your nodes?

--
David Pilato | Technical Advocate | elasticsearch.com
david....@elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 26 septembre 2014 à 09:43:10, kexu xu (xuk...@gmail.com) a écrit:

Hi,all

when load data to elastic search using river, I always get the error: ClassNotFoundException.

The fellow is the error description:
The elastic search has 3 nodes,their ip is 192.168.71.234,192.168.71.235 and 192.168.71.236
First, Install the river plugin, the 3 node return right, and the ${elasticsearch.home}/plugins directory has the plugin.
Second, execute the curl command:
curl -XPUT '192.168.71.236:9201/_river/myhadoop/_meta' -d '{
"type":"hadoop",
"hadoop":{
"path":"/user/test/appinfo/2014-09-15",
},
"index":{
"index":"dmp2",
"type":"tag",
"sha":true
}
}'
Finally, i get the river status,but get error:
{
"_index" : "_river",
"_type" : "myhadoop",
"_id" : "_status",
"_version" : 1,
"found" : true,
"_source":{"error":"NoClassSettingsException[Failed to load class with value [hadoop]]; nested: ClassNotFoundException[hadoop]; ","node":{"id":"ECzwbXLPTnqP5Ch4IQTAVg","name":"node71-235-open","transport_address":"inet[localhost/192.168.71.235:9600]"}}
}

what is the problem here?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c471df95-4602-4514-bcd5-97dfbc9cb0ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7d333649-3f84-4559-9571-9a806276400f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CF5E978B-E92F-435C-AB98-92AA9F8D55C3%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.