spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [spark] advancedxy opened a new pull request #25847: [SPARK-21045][PYSPARK] Defensive check for exception info thrown by user
Date Thu, 19 Sep 2019 07:05:16 GMT
advancedxy opened a new pull request #25847: [SPARK-21045][PYSPARK] Defensive check for exception
info thrown by user
URL: https://github.com/apache/spark/pull/25847
 
 
   ### What changes were proposed in this pull request?
   Make a defensive check when encoding exception info to utf-8 based str as it may contains
invalid encoding bytes.
   
   ### Why are the changes needed?
   Previously PySpark will hang when the UnicodeDecodeError occurs and the real exception
cannot be passed to the JVM side.
   
   ### Does this PR introduce any user-facing change?
   User may not observe hanging for the similar cases.
   
   ### How was this patch tested?
   Added a new test and manually checking.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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


Mime
View raw message