Skip to content

Conversation

@AngersZhuuuu
Copy link
Contributor

@AngersZhuuuu AngersZhuuuu commented Apr 2, 2020

What changes were proposed in this pull request?

In org.apache.spark.sql.hive.execution.ScriptTransformationExec, when check error, sometimes we can't catch write error in subproc, when call checkFailureAndPropagate we should always wait for subproc stop

For UT I added, when without code change in ScriptTransformExec will always got error like below
image

Why are the changes needed?

Catch error in script transform

Does this PR introduce any user-facing change?

NO

How was this patch tested?

Added UT

@AngersZhuuuu
Copy link
Contributor Author

@dongjoon-hyun
For error I meet in. #27983 (comment)
I make a new PR in origin master, if this problem fixed, I will merge to #27983

@AngersZhuuuu
Copy link
Contributor Author

cc @Ngone51 @slamke
I meet same problem these days and reproduce it in noserde mode

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@Ngone51
Copy link
Member

Ngone51 commented Apr 2, 2020

The error is not from ScriptTransformationExec but Scala test framework.

@AngersZhuuuu
Copy link
Contributor Author

Resolved by

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants