Couchdb-river not working in 0.12.1?

Doesn't seem to be working in 0.12.1. Creating a couchdb database
called 'foo' and running the following against elasticsearch:

plugin install river-couchdb

curl -XPUT 'http://localhost:9200/foo'

curl -XPUT 'localhost:9200/_river/foo/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "foo",
"filter" : null
}
}'

Gives me:

org.elasticsearch.common.settings.NoClassSettingsException: Failed to
load class with value [couchdb]
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:77)
at org.elasticsearch.river.RiverModule.spawnModules(RiverModule.java:53)
at org.elasticsearch.common.inject.ModulesBuilder.add(ModulesBuilder.java:44)
at org.elasticsearch.river.RiversService.createRiver(RiversService.java:115)
at org.elasticsearch.river.RiversService$ApplyRivers$1.onResponse(RiversService.java:181)
at org.elasticsearch.river.RiversService$ApplyRivers$1.onResponse(RiversService.java:176)
at org.elasticsearch.action.support.single.TransportSingleOperationAction$AsyncSingleAction$1.run(TransportSingleOperationAction.java:135)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.ClassNotFoundException: couchdb
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:63)
... 9 more

Have you installed the couchdb plugin?

On Wed, Nov 10, 2010 at 2:27 AM, Darren Hobbs darren.hobbs@gmail.comwrote:

Doesn't seem to be working in 0.12.1. Creating a couchdb database
called 'foo' and running the following against elasticsearch:

plugin install river-couchdb

curl -XPUT 'http://localhost:9200/foo'

curl -XPUT 'localhost:9200/_river/foo/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "foo",
"filter" : null
}
}'

Gives me:

org.elasticsearch.common.settings.NoClassSettingsException: Failed to
load class with value [couchdb]
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:77)
at org.elasticsearch.river.RiverModule.spawnModules(RiverModule.java:53)
at
org.elasticsearch.common.inject.ModulesBuilder.add(ModulesBuilder.java:44)
at
org.elasticsearch.river.RiversService.createRiver(RiversService.java:115)
at
org.elasticsearch.river.RiversService$ApplyRivers$1.onResponse(RiversService.java:181)
at
org.elasticsearch.river.RiversService$ApplyRivers$1.onResponse(RiversService.java:176)
at
org.elasticsearch.action.support.single.TransportSingleOperationAction$AsyncSingleAction$1.run(TransportSingleOperationAction.java:135)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.ClassNotFoundException: couchdb
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:63)
... 9 more