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.