forked from apache/incubator-livy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LIVY-620][LIVY-641] Fix travis failed on test: should end with statu…
…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 <[email protected]> Closes apache#214 from runzhiwang/LIVY-641-SESSION-STATUS.
- Loading branch information
1 parent
256702e
commit 8b92397
Showing
3 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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