[jira] [Commented] (SPARK-25535) Work around bad error checking in commons-crypto

2018-09-26 Thread Apache Spark (JIRA)


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

Apache Spark commented on SPARK-25535:
--

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

> Work around bad error checking in commons-crypto
> 
>
> Key: SPARK-25535
> URL: https://issues.apache.org/jira/browse/SPARK-25535
> Project: Spark
>  Issue Type: Bug
>  Components: Spark Core
>Affects Versions: 2.2.2
>Reporter: Marcelo Vanzin
>Priority: Major
>
> The commons-crypto library used for encryption can get confused when certain 
> errors happen; that can lead to crashes since the Java side thinks the 
> ciphers are still valid while the native side has already cleaned up the 
> ciphers.
> We can work around that in Spark by doing some error checking at a higher 
> level.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SPARK-25535) Work around bad error checking in commons-crypto

2018-09-25 Thread Marcelo Vanzin (JIRA)


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

Marcelo Vanzin commented on SPARK-25535:


I filed CRYPTO-141 for the commons-crypto fix. But in some parts of Spark we 
can avoid that issue, so let's do that to avoid requiring a new release of that 
library.

> Work around bad error checking in commons-crypto
> 
>
> Key: SPARK-25535
> URL: https://issues.apache.org/jira/browse/SPARK-25535
> Project: Spark
>  Issue Type: Bug
>  Components: Spark Core
>Affects Versions: 2.2.2
>Reporter: Marcelo Vanzin
>Priority: Major
>
> The commons-crypto library used for encryption can get confused when certain 
> errors happen; that can lead to crashes since the Java side thinks the 
> ciphers are still valid while the native side has already cleaned up the 
> ciphers.
> We can work around that in Spark by doing some error checking at a higher 
> level.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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