spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-12548) Add more exceptions to Guava relocation
Date Tue, 29 Dec 2015 08:45:49 GMT

    [ https://issues.apache.org/jira/browse/SPARK-12548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073652#comment-15073652
] 

Apache Spark commented on SPARK-12548:
--------------------------------------

User 'microhello' has created a pull request for this issue:
https://github.com/apache/spark/pull/10442

> Add more exceptions to Guava relocation
> ---------------------------------------
>
>                 Key: SPARK-12548
>                 URL: https://issues.apache.org/jira/browse/SPARK-12548
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.5.1, 1.5.2
>            Reporter: microhello
>            Assignee: Apache Spark
>              Labels: patch
>
> When I use  [facebook/swift|https://github.com/facebook/swift]  with spark 1.5.2, throw
following exception, so I need add *com.google.common.base.AbstractIterator* exceptions to
Guava relocation . 
> {code:java}
> Exception in thread "main" java.lang.IllegalAccessError: class com.google.common.base.Optional$1$1
cannot access its superclass org.spark-project.guava.base.AbstractIterator
> 	at java.lang.ClassLoader.defineClass1(Native Method)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
> 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
> 	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	at com.google.common.base.Optional$1.iterator(Optional.java:223)
> 	at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:300)
> 	at com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder.inferThriftFieldIds(AbstractThriftMetadataBuilder.java:566)
> 	at com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder.inferThriftFieldIds(AbstractThriftMetadataBuilder.java:542)
> 	at com.facebook.swift.codec.metadata.AbstractThriftMetadataBuilder.normalizeThriftFields(AbstractThriftMetadataBuilder.java:483)
> 	at com.facebook.swift.codec.metadata.ThriftStructMetadataBuilder.<init>(ThriftStructMetadataBuilder.java:48)
> 	at com.facebook.swift.codec.metadata.ThriftCatalog.extractThriftStructMetadata(ThriftCatalog.java:542)
> 	at com.facebook.swift.codec.metadata.ThriftCatalog.getThriftStructMetadata(ThriftCatalog.java:408)
> 	at com.facebook.swift.codec.metadata.ThriftCatalog.getThriftTypeUncached(ThriftCatalog.java:283)
> 	at com.facebook.swift.codec.metadata.ThriftCatalog.getThriftType(ThriftCatalog.java:215)
> 	at com.facebook.swift.service.metadata.ThriftMethodMetadata.<init>(ThriftMethodMetadata.java:90)
> 	at com.facebook.swift.service.metadata.ThriftServiceMetadata.<init>(ThriftServiceMetadata.java:73)
> 	at com.facebook.swift.service.ThriftServiceProcessor.<init>(ThriftServiceProcessor.java:76)
> 	at com.facebook.swift.service.ThriftServiceProcessor.<init>(ThriftServiceProcessor.java:65)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message