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

PJ Fanning commented on SPARK-11640:
------------------------------------

[~sowen] Thanks - the hadoop-provided profile does lead to bouncycastle classes 
being excluded from the spark-assembly jar

> shading packages in spark-assembly jar
> --------------------------------------
>
>                 Key: SPARK-11640
>                 URL: https://issues.apache.org/jira/browse/SPARK-11640
>             Project: Spark
>          Issue Type: Wish
>          Components: Build
>            Reporter: PJ Fanning
>
> The spark assembly jar contains classes from many external dependencies like 
> hadoop and bouncycastle.
> I have run into issues trying to use bouncycastle code in a Spark job because 
> the JCE codebase expects the encryption code to be in a signed jar and since 
> the classes are copied into spark-assembly jar and it is not signed, the JCE 
> framework returns an error.
> If the bouncycastle classes in spark-assembly were shaded, then I could 
> deploy the properly signed bcprov jar. The spark code could access the shaded 
> copies of the bouncycastle classes.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to