Skip to content
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

failed to create river [mongodb] #533

Open
linhaobuaa opened this issue Jun 5, 2015 · 7 comments
Open

failed to create river [mongodb] #533

linhaobuaa opened this issue Jun 5, 2015 · 7 comments

Comments

@linhaobuaa
Copy link

[2015-06-05 22:07:53,827][WARN ][river ] [ubuntu6] failed to create river [mongodb][guba_post_600001]
161243 org.elasticsearch.common.settings.NoClassSettingsException: Failed to load class with value [mongodb]
161244 ▸---at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:87)
161245 ▸---at org.elasticsearch.river.RiverModule.spawnModules(RiverModule.java:58)
161246 ▸---at org.elasticsearch.common.inject.ModulesBuilder.add(ModulesBuilder.java:44)
161247 ▸---at org.elasticsearch.river.RiversService.createRiver(RiversService.java:137)
161248 ▸---at org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(RiversService.java:273)
161249 ▸---at org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(RiversService.java:267)
161250 ▸---at org.elasticsearch.action.support.TransportAction$ThreadedActionListener$1.run(TransportAction.java:113)
161251 ▸---at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
161252 ▸---at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
161253 ▸---at java.lang.Thread.run(Thread.java:745)
161254 Caused by: java.lang.ClassNotFoundException: mongodb
161255 ▸---at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
161256 ▸---at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
161257 ▸---at java.security.AccessController.doPrivileged(Native Method)
161258 ▸---at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
161259 ▸---at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
161260 ▸---at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
161261 ▸---at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
161262 ▸---at org.elasticsearch.river.RiverModule.loadTypeModule(RiverModule.java:73)
161263 ▸---... 9 more

@ewgRa
Copy link
Contributor

ewgRa commented Jun 5, 2015

Can you attach river configuration and versions of software?

@linhaobuaa
Copy link
Author

put /_river/guba_post_600001/_meta
{
"type": "mongodb",
"mongodb": {
"servers": [
{
"host": "219.224.135.94",
"port": "27020"
}
],
"db": "guba",
"collection": "post_stock_600001"
},
"index": {
"name": "guba",
"type": "post_stock_600001"
}
}

@ewgRa
Copy link
Contributor

ewgRa commented Jun 5, 2015

Versions of ES, MongoDB and river plugin?

Does river plugin installed?

@linhaobuaa
Copy link
Author

elasticsearch 1.5.2
river 2.0.9
mongodb 2.4.14

@ewgRa
Copy link
Contributor

ewgRa commented Jun 5, 2015

Check versions table at https://github.com/richardwilly98/elasticsearch-river-mongodb/blob/master/README.md

Also in ES 1.5 rivers is deprecated, can't say is plugin support this version, don't try it yet.

Maybe plugin author can say more about ES 1.5 support and his plans.

@ewgRa
Copy link
Contributor

ewgRa commented Jun 5, 2015

I think big chance that you have problems because of unsupported/incompatibled versions.

@linhaobuaa
Copy link
Author

OK, so appreciated for the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants