elasticsearch-jdbc icon indicating copy to clipboard operation
elasticsearch-jdbc copied to clipboard

Installation fails

Open ReddySk opened this issue 9 years ago • 8 comments

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

ReddySk avatar Dec 21 '15 12:12 ReddySk

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

jprante avatar Dec 21 '15 23:12 jprante

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

  • just to add some more detail...I've created the "river-jdbc" folder within the plugin directory of ES.

DasNaughtie avatar Dec 22 '15 00:12 DasNaughtie

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/

jprante avatar Dec 22 '15 00:12 jprante

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

DasNaughtie avatar Dec 22 '15 00:12 DasNaughtie

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

jprante avatar Dec 22 '15 07:12 jprante

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.

faraazaamir avatar May 22 '17 08:05 faraazaamir

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.

jprante avatar May 22 '17 17:05 jprante

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.

faraazaamir avatar May 26 '17 12:05 faraazaamir