Got `elasticsearch` directory is missing in the plugin zip when trying to install from jar

510 views
Skip to first unread message

Ray Wu

unread,
Mar 15, 2017, 3:05:36 AM3/15/17
to Search Guard
I'm using ES 5.1.2. I want to do some tests so I need to install from source. I clone source code and `mvn package` to create few jar files.

`bin/elasticsearch-plugin install file:///Users/rayjcwu/repo/search-guard/target/search-guard-5-5.1.2-12-SNAPSHOT.jar` 

will show

```
-> Downloading file:///Users/rayjcwu/repo/search-guard/target/search-guard-5-5.1.2-12-SNAPSHOT.jar
[=================================================] 100%
ERROR: `elasticsearch` directory is missing in the plugin zip
```

but `bin/elasticsearch-plugin install -b com.floragunn:search-guard-5:5.1.2-11` works fine. I open the search-guard-5 jar file in /plugins, didn't see any /elasticsearch directory in it.

Does anyone know what elasticsearch directory does it refer to? 

SG

unread,
Mar 15, 2017, 3:24:36 AM3/15/17
to search...@googlegroups.com
you must install the .zip file, not the jar
> --
> You received this message because you are subscribed to the Google Groups "Search Guard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.
> To post to this group, send email to search...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/f8156f33-cd34-4313-bf09-70d9bf3f7531%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Ray Wu

unread,
Mar 15, 2017, 3:05:45 PM3/15/17
to Search Guard
found it, thanks.
Reply all
Reply to author
Forward
0 new messages