# About elasticsearch-hadoop error

**URL:** https://discuss.elastic.co/t/about-elasticsearch-hadoop-error/23267
**Category:** Elasticsearch
**Created:** [April 16, 2015, 6:11am UTC](https://discuss.elastic.co/t/about-elasticsearch-hadoop-error/23267 "2015-04-16T06:11:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![guoyiqincn](https://avatars.discourse-cdn.com/v4/letter/g/ccd318/32.png) [@guoyiqincn](https://discuss.elastic.co/u/guoyiqincn)
#### Post date: [April 16, 2015, 6:11am UTC](https://discuss.elastic.co/t/about-elasticsearch-hadoop-error/23267/1 "2015-04-16T06:11:17Z")

</div>

_Hello_

\*when add elasticsearch-hadoop jar \*

_this is a error_

Spark assembly has been built with Hive, including Datanucleus jars on  
classpath  
Exception in thread "main" java.lang.SecurityException: Invalid signature  
file digest for Manifest main attributes  
at  
sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:287)  
at  
sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:240)  
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:274)  
at java.util.jar.JarVerifier.update(JarVerifier.java:228)  
at java.util.jar.JarFile.initializeVerifier(JarFile.java:348)  
at java.util.jar.JarFile.getInputStream(JarFile.java:415)  
at sun.misc.JarIndex.getJarIndex(JarIndex.java:137)  
at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:674)  
at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:666)  
at java.security.AccessController.doPrivileged(Native Method)  
at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:665)  
at sun.misc.URLClassPath$JarLoader.(URLClassPath.java:638)  
at sun.misc.URLClassPath$3.run(URLClassPath.java:366)  
at sun.misc.URLClassPath$3.run(URLClassPath.java:356)  
at java.security.AccessController.doPrivileged(Native Method)  
at sun.misc.URLClassPath.getLoader(URLClassPath.java:355)  
at sun.misc.URLClassPath.getLoader(URLClassPath.java:332)  
at sun.misc.URLClassPath.getResource(URLClassPath.java:198)  
at java.net.URLClassLoader$1.run(URLClassLoader.java:358)  
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)  
at java.lang.Class.forName0(Native Method)  
at java.lang.Class.forName(Class.java:270)  
at  
org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:538)  
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:166)  
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:189)  
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:110)  
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

thank you

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b12f1628-d7cf-4305-8fdd-5b359cd0a663%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b12f1628-d7cf-4305-8fdd-5b359cd0a663%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)
#### Post date: [April 16, 2015, 7:03am UTC](https://discuss.elastic.co/t/about-elasticsearch-hadoop-error/23267/2 "2015-04-16T07:03:07Z")

</div>

Based on your cryptic message I would guess the issue is likely that the jar you are building is incorrect as it's  
manifest is invalid. Spark most likely is signed and thus extra content breaks this.

See [Troubleshooting | Elasticsearch for Apache Hadoop [master] | Elastic](http://www.elastic.co/guide/en/elasticsearch/hadoop/master/troubleshooting.html#help)

On 4/16/15 9:11 AM, [guoyiqincn@gmail.com](mailto:guoyiqincn@gmail.com) wrote:

> _Hello_  
> \*  
> \*  
> \*when add elasticsearch-hadoop jar \*  
> \*  
> \*  
> \*  
> \*  
> \*  
> \*  
> \*  
> \*  
> _this is a error_
> 
> Spark assembly has been built with Hive, including Datanucleus jars on classpath  
> Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes  
> at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:287)  
> at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:240)  
> at java.util.jar.JarVerifier.processEntry(JarVerifier.java:274)  
> at java.util.jar.JarVerifier.update(JarVerifier.java:228)  
> at java.util.jar.JarFile.initializeVerifier(JarFile.java:348)  
> at java.util.jar.JarFile.getInputStream(JarFile.java:415)  
> at sun.misc.JarIndex.getJarIndex(JarIndex.java:137)  
> at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:674)  
> at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:666)  
> at java.security.AccessController.doPrivileged(Native Method)  
> at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:665)  
> at sun.misc.URLClassPath$JarLoader.(URLClassPath.java:638)  
> at sun.misc.URLClassPath$3.run(URLClassPath.java:366)  
> at sun.misc.URLClassPath$3.run(URLClassPath.java:356)  
> at java.security.AccessController.doPrivileged(Native Method)  
> at sun.misc.URLClassPath.getLoader(URLClassPath.java:355)  
> at sun.misc.URLClassPath.getLoader(URLClassPath.java:332)  
> at sun.misc.URLClassPath.getResource(URLClassPath.java:198)  
> at java.net.URLClassLoader$1.run(URLClassLoader.java:358)  
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)  
> at java.security.AccessController.doPrivileged(Native Method)  
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)  
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)  
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)  
> at java.lang.Class.forName0(Native Method)  
> at java.lang.Class.forName(Class.java:270)  
> at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:538)  
> at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:166)  
> at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:189)  
> at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:110)  
> at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
> 
> ## thank you
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/b12f1628-d7cf-4305-8fdd-5b359cd0a663%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b12f1628-d7cf-4305-8fdd-5b359cd0a663%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/b12f1628-d7cf-4305-8fdd-5b359cd0a663%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b12f1628-d7cf-4305-8fdd-5b359cd0a663%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Costin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/552F5EAB.4030506%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/552F5EAB.4030506%40gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 12:19am UTC](https://discuss.elastic.co/t/about-elasticsearch-hadoop-error/23267/3 "2017-07-06T00:19:23Z")

</div>


