-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-21045][PYSPARK]Fixed executor blocked because traceback.format_exc throw UnicodeDecodeError #18262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
[SPARK-21045][PYSPARK]Fixed executor blocked because traceback.format_exc throw UnicodeDecodeError #18262
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
81f5db5
Fixed executor blocked because traceback.format_exc throw UnicodeDeco…
9893efd
check by python version
ee793ec
[SPARK-20211][SQL] Fix the Precision and Scale of Decimal Values when…
gatorsmile cdb26eb
[SPARK-20620][TEST] Improve some unit tests for NullExpressionsSuite …
10110346 0f2da15
[SPARK-20877][SPARKR] refactor tests to basic tests only for CRAN
felixcheung e5940a0
[SPARK-21000][MESOS] Add Mesos labels support to the Spark Dispatcher
ef661f6
[SPARK-20935][STREAMING] Always close WriteAheadLog and make it idemp…
HyukjinKwon ebb284f
[SPARK-13933][BUILD] Update hadoop-2.7 profile's curator version to 2…
wangyum d1dde23
[SPARK-20877][SPARKR][FOLLOWUP] clean up after test move
felixcheung 160cbe7
Fixed typo in sql.functions
9713c7c
[SPARK-21031][SQL] Add `alterTableStats` to store spark's stats and l…
wzhfy d262b77
[SPARK-18891][SQL] Support for Scala Map collection types
michalsenkyr 9bbd3ca
[SPARK-18891][SQL] Support for specific Java List subtypes
michalsenkyr ae461e9
[SPARK-20715] Store MapStatuses only in MapOutputTracker, not Shuffle…
JoshRosen 1b61edd
[SPARK-20665][SQL][FOLLOW-UP] Move test case to MathExpressionsSuite
10110346 c8c8ba8
[DOCS] Fix error: ambiguous reference to overloaded definition
ZiyueHuang f02667c
[SPARK-21041][SQL] SparkSession.range should be consistent with Spark…
dongjoon-hyun b9d80e8
[SPARK-21046][SQL] simplify the array offset and length in ColumnVector
cloud-fan 11755f1
[SPARK-17914][SQL] Fix parsing of timestamp strings with nanoseconds
160fcdb
[SPARK-20345][SQL] Fix STS error handling logic on HiveSQLException
dongjoon-hyun 26f056c
[SPARK-21059][SQL] LikeSimplification can NPE on null pattern
rxin 3cd45c8
[SPARK-21050][ML] Word2vec persistence overflow bug fix
jkbradley 66bd772
[SPARK-20979][SS] Add RateSource to generate values for tests and ben…
zsxwing cb8a343
Revert "[SPARK-21046][SQL] simplify the array offset and length in Co…
cloud-fan a071d75
[SPARK-19910][SQL] `stack` should not reject NULL values due to type …
dongjoon-hyun a01e076
[TEST][SPARKR][CORE] Fix broken SparkSubmitSuite
felixcheung 0d248cf
[SPARK-20920][SQL] ForkJoinPool pools are leaked when writing hive ta…
srowen 8dcca70
[SPARK-21006][TESTS][FOLLOW-UP] Some Worker's RpcEnv is leaked in Wor…
10110346 f163e86
[SPARK-21039][SPARK CORE] Use treeAggregate instead of aggregate in D…
rishabhbhardwaj 5621e4a
[SPARK-21060][WEB-UI] Css style about paging function is error in the…
df01660
[SPARK-21064][CORE][TEST] Fix the default value bug in NettyBlockTran…
bf139ca
[SPARK-21051][SQL] Add hash map metrics to aggregate
viirya 60bc9ff
[SPARK-21016][CORE] Improve code fault tolerance for converting strin…
10110346 fb1a870
[SPARK-12552][CORE] Correctly count the driver resource when recoveri…
jerryshao f71145a
[SPARK-20986][SQL] Reset table's statistics after PruneFileSourcePart…
lianhuiwang 1f71f40
[SPARK-19753][CORE] Un-register all shuffle output on a host in case …
6d097f7
[SPARK-20754][SQL][FOLLOWUP] Add Function Alias For MOD/POSITION.
wangyum c19ca9f
[SPARK-21057][ML] Do not use a PascalDistribution in countApprox
srowen 12e068d
[SPARK-21085][SQL] Failed to read the partitioned table created by Sp…
gatorsmile 5a54d6b
[SPARK-21089][SQL] Fix DESC EXTENDED/FORMATTED to Show Table Properties
gatorsmile 7686f02
Revert "[SPARK-20941][SQL] Fix SubqueryExec Reuse"
gatorsmile 24b409d
[SPARK-21091][SQL] Move constraint code into QueryPlanConstraints
rxin 3c1f793
[SPARK-19900][CORE] Remove driver when relaunching.
lycplus b897c60
[SPARK-21092][SQL] Wire SQLConf in logical plan and expressions
rxin fb8bcf1
[SPARK-20980][SQL] Rename `wholeFile` to `multiLine` for both CSV and…
gatorsmile 73dae47
[SPARK-18016][SQL][CATALYST] Code Generation: Constant Pool Limit - C…
b89d66a
[SPARK-20980][DOCS] update doc to reflect multiLine change
felixcheung fea7e71
[SPARK-16251][SPARK-20200][CORE][TEST] Flaky test: org.apache.spark.r…
jiangxb1987 6e74008
[SPARK-20434][YARN][CORE] Move Hadoop delegation token code from yarn…
3c77234
[SPARK-21112][SQL] ALTER TABLE SET TBLPROPERTIES should not overwrite…
gatorsmile 6bbd09c
[SPARK-21072][SQL] TreeNode.mapChildren should only apply to the chil…
ConeyLiu 8120192
add test for SPARK-21045
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should not just rely on the exception handling but only need to
encodeonunicodein Python 2 andstrin Python 3.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Python 2, traceback.format_exc() is already str, don't need to encode. So can I change like this:
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather go for something like the one below:
for sure (at least for sanity check). I believe this approach is rather more common.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benefit a lot, thx.
exc_info = exc_info.str(desc) is right? I think I can remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, we could refer
https://github.com/apache/spark/pull/17267.