-
Notifications
You must be signed in to change notification settings - Fork 856
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spark Configuration Threshold Heuristic (#286)
- Loading branch information
Showing
12 changed files
with
192 additions
and
43 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
app/com/linkedin/drelephant/spark/fetchers/statusapiv1/StageStatus.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
*Added this class to accommodate the status "PENDING" for stages. | ||
* | ||
*TODO: remove this class if using the spark version having "PENDING" StageStatus. | ||
*/ | ||
|
||
package com.linkedin.drelephant.spark.fetchers.statusapiv1; | ||
|
||
import org.apache.spark.util.EnumUtil; | ||
|
||
public enum StageStatus { | ||
ACTIVE, | ||
COMPLETE, | ||
FAILED, | ||
SKIPPED, | ||
PENDING; | ||
|
||
private StageStatus() { | ||
} | ||
|
||
public static StageStatus fromString(String str) { | ||
return (StageStatus) EnumUtil.parseIgnoreCase(StageStatus.class, str); | ||
} | ||
} |
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
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
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
Oops, something went wrong.