I am trying to install custom plugin in ES 2.1 using plugin tool in bin/plugin and i am getting exception of plugin descriptor even though plugin-descriptor.properties is available in resources folder of my project and it gets bundled in zip of the plugin.
command :
bin/plugin install file:///Users/git/plugin.zip
Error :
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
I read that documentation but the documentation does not explain well for plugin-descriptor.properties to be placed outside your plugin jar . Now it is working fine after I verified from PluginManager source code . It would have been better if we were allowed to keep the descriptor in plugin jar only .Thanks for your reply
I'm afraid I did not understand your issue at first. Reading it again now makes me think that my answer was wrong because you obviously put the descriptor file in the right place.
Which now comes to a question: what was your issue and how did you fix it?
Also, if you think the documentation could be enhanced, feel free to contribute! Would be highly appreciated!
I got the same problem so for those who will encouter the same problem the solution is to modify your assembly plugin.xml file like this (note the reference to plugin-descriptor.properties) :
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.