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
Failing to run a feeder on Windows #447
Comments
I finally got a bat file to work.
I can see my index being created but the river never runs. Any suggestions on what I am doing wrong? |
Maybe modify your schedule (or remove it entirely)? You could try: "schedule" : "0 * * * * *" to run every minute. It wasn't entirely clear where your script file was located (and therefore what jars were being found by your I placed and ran the script from
I removed the |
I had the script file in ES_HOME. I will give this tip a try. Thanks for working on this! |
I success configure with yours advices. But with multiline SQL, it's not run. What is it the sql syntax with multiline?
And the error is :
It's parse at line break. |
It works. Thanks! |
For anyone having problems setting up elasticsearch-jdbc-1.7.0.1 on Windows there is a simple way using Powershell: jdbc_mysql.json
jdbc_mysql.ps1
I described the whole process here |
this is not working as described. |
I am using version 1.4.08 of the plugin and 1.40 for ES. Here is the bat file I am using. I based it off of the mysql bat file from the project.
When I run this from the command line, I get the following error:
java.lang.IncompatibleClassChangeError: class org.xbib.elasticsearch.plugin.jdbc
.state.RiverStatesMetaData$Factory has interface org.elasticsearch.cluster.metad
ata.MetaData$Custom$Factory as super class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
at org.xbib.elasticsearch.plugin.jdbc.classloader.uri.URIClassLoader.def
ineClass(URIClassLoader.java:310)
at org.xbib.elasticsearch.plugin.jdbc.classloader.uri.URIClassLoader.acc
ess$100(URIClassLoader.java:63)
at org.xbib.elasticsearch.plugin.jdbc.classloader.uri.URIClassLoader$1.r
un(URIClassLoader.java:133)
at java.security.AccessController.doPrivileged(Native Method)
at org.xbib.elasticsearch.plugin.jdbc.classloader.uri.URIClassLoader.fin
dClass(URIClassLoader.java:126)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.xbib.elasticsearch.plugin.jdbc.state.RiverStatesMetaData.
(RiverStatesMetaData.java:39)
at org.xbib.elasticsearch.plugin.jdbc.feeder.JDBCFeeder.(JDBCFee
der.java:76)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
orAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at org.xbib.elasticsearch.plugin.jdbc.feeder.Runner.main(Runner.java:45)
Anyone have any suggestions how I can fix this issue?
The text was updated successfully, but these errors were encountered: