jprante / elasticsearch-jdbc

JDBC importer for Elasticsearch
Apache License 2.0
2.84k stars 709 forks source link

Installation fails #730

Open ReddySk opened 8 years ago

ReddySk commented 8 years ago

Hello,

I am new with elasticsearch and when trying to install this plugin from the URL referred in https://github.com/jprante/elasticsearch-jdbc/blob/river-1.5/README.md I am getting error:

Downloading ......DONE
Verifying file:/e:/Download/elasticsearch-river-jdbc-1.5.0.5-plugin.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip

Can you please advise how to generate the plugin descriptor?

Thanks in advance Regards, Reddy

jprante commented 8 years ago

JDBC river 1.5.0.5 is compatible to Elasticsearch 1.5 only.

The JDBC importer is not a plugin anymore for versions of ES >=1.6

Please read the documentation at https://github.com/jprante/elasticsearch-jdbc/ to install standalone zip for ES >- 1.6

DasNaughtie commented 8 years ago

Hey dude,

Hope all's good!

I'm following these instructions: "You can also download the archive and extract it into the plugins directory, but you need to make sure the directory name is river-jdbc." - obtained from http://nitschinger.at/Elastic-Search-and-SQL-Server-are-sitting-in-a-tree However, when I attempt to restart the elasticsearch service it blows up.

I'm using ES 2.1.1 and have downloaded the latest version of river. OS is windows 10.

Any help would be greatly appreciated.

Regards,

D

jprante commented 8 years ago

The instructions you cite are a) from an external web site, so I can not comment, and b) three years old and for Elasticsearch 0.19. There is nothing to expect from such old instructions.

Do not use river. Rivers do not work any more. Only JDBC importer can work.

I do not know Windows 10. But maybe this recent blog post can help: http://r2d2.cc/2015/08/05/elastic-search-on-windows-with-mysql-sql-server-2014-and-import-feeder/

DasNaughtie commented 8 years ago

Apologies...I didn't check the date I merely clicked on the resource at https://github.com/jprante/elasticsearch-jdbc/wiki/Step-by-step-recipe-for-setting-up-the-river-with-SQL-Server.

I'll give the link you posted above a try.

Regards,

D

jprante commented 8 years ago

Thanks. The Wiki is not up to date - everybody can edit. No time to keep it up, sorry for this. The link is removed.

faraazaamir commented 7 years ago

Hi jprante,

I am trying to setup on my Windows 7 machine and I followed all the steps mentioned in http://r2d2.cc/2015/08/05/elastic-search-on-windows-with-mysql-sql-server-2014-and-import-feeder/

But I get the following error when I run elasticsearch.bat:

C:\ElasticSearch\elasticsearch-5.4.0\bin>elasticsearch.bat [2017-05-22T13:24:13,535][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException: org.elasticsearch.bootstrap.Bootst rapException: java.nio.file.NoSuchFileException: C:\ElasticSearch\elasticsearch- 5.4.0\plugins\elasticsearch-jdbc-2.3.4.1\plugin-descriptor.properties at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:127 ) ~[elasticsearch-5.4.0.jar:5.4.0] at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:

Please advise.

jprante commented 7 years ago

I advise that you should open a new issue and not take over an old issue.

You can not use JDBC importer 2.3.4.1 with Elasticsearch 5.4.0. It is not supported.

faraazaamir commented 7 years ago

Thanks. Aso, I was able to use ElasticVersion2.3.4 and instead of adding the JDBC components in 'plugins' folder, I created an 'importer' folder and placed there. Was able to get it working then.