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
[LIVY-620][LIVY-641] Fix travis failed on test: should end with status dead when batch session exits with no 0 return code #214
Conversation
@gumartinm Hi, Could you help review this PR? |
Looks like there's some issues in IT, can you please check? |
@jerryshao UT and IT have passed. |
…n batch session exits with no 0 return code
33c174a
to
d1b1cf5
Compare
Codecov Report
@@ Coverage Diff @@
## master #214 +/- ##
============================================
- Coverage 68.76% 68.71% -0.05%
+ Complexity 916 915 -1
============================================
Files 100 100
Lines 5696 5700 +4
Branches 862 864 +2
============================================
Hits 3917 3917
- Misses 1219 1225 +6
+ Partials 560 558 -2
Continue to review full report at Codecov.
|
So the fix here is just reverting the previous commit, or you add some new changes? If it is reverted, then did you fix the previous issue? |
@jerryshao The changes in SparkYarnApp.scala and BatchSessionSpec.scala are the new changes. The new changes have fixed the previous issue. |
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.
LGTM.
…s dead when batch session exits with no 0 return code ## What changes were proposed in this pull request? Fix travis failed on test: should end with status dead when batch session exits with no 0 return code 1. Travis failed because of thread in SparkProcApp.scala and thead in BatchSession.scala change SessionState to different value when stopSession in test. 2. The changes of BatchSession.scala is to revert the commit of apache@01da43d. 3. The changes of SparkYarnApp.scala and BatchSessionSpec.scala are the new changes ## How was this patch tested? 1. Existed UT and IT. 2. Create Batch Session In Yarn and kill SparkSubmit, then check the SessionState. Author: runzhiwang <runzhiwang@tencent.com> Closes apache#214 from runzhiwang/LIVY-641-SESSION-STATUS.
…s dead when batch session exits with no 0 return code ## What changes were proposed in this pull request? Fix travis failed on test: should end with status dead when batch session exits with no 0 return code 1. Travis failed because of thread in SparkProcApp.scala and thead in BatchSession.scala change SessionState to different value when stopSession in test. 2. The changes of BatchSession.scala is to revert the commit of apache@01da43d. 3. The changes of SparkYarnApp.scala and BatchSessionSpec.scala are the new changes ## How was this patch tested? 1. Existed UT and IT. 2. Create Batch Session In Yarn and kill SparkSubmit, then check the SessionState. Author: runzhiwang <runzhiwang@tencent.com> Closes apache#214 from runzhiwang/LIVY-641-SESSION-STATUS.
What changes were proposed in this pull request?
Fix travis failed on test: should end with status dead when batch session exits with no 0 return code
Travis failed because of thread in SparkProcApp.scala and thead in BatchSession.scala change SessionState to different value when stopSession in test.
The changes of BatchSession.scala is to revert the commit of 01da43d.
The changes of SparkYarnApp.scala and BatchSessionSpec.scala are the new changes
How was this patch tested?