I am getting below exception while trying to bring up ES 2.1
Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:220)
at java.util.zip.ZipFile.<init>(ZipFile.java:150)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:174)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:87)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:164)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Refer to the log for complete error details.
did you have any ._* type of files in your directory structure?
I faced the same problem today. I got a zipped version of elasticsearch for windows that someone had downloaded, unzipped, and zipped again via a mac (don't ask why). It seems that for each file in the zipped version, there was a corresponding ._ kind of file. After deleting all these, elasticsearch startet to work again.
Thank you so much. I didn't zip anything from Mac OS but I did start using elasticSearch in mac, and those files were everywhere! I would have never be able to find this out on my own, thank you again
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.