Skip to content

Commit

Permalink
LIHADOOP-24958: Investigate the cause of Skipped Jobs Alert in Dr. El…
Browse files Browse the repository at this point in the history
…ephant
  • Loading branch information
akshayrai committed Dec 13, 2016
1 parent 0c0ebb2 commit e722f2f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,11 @@ public List<AnalyticJob> fetchAnalyticJobs()
appList.addAll(succeededApps);

// Fetch all failed apps
// state: Application Master State
// finalStatus: Status of the Application as reported by the Application Master
URL failedAppsURL = new URL(new URL("http://" + _resourceManagerAddress), String.format(
"/ws/v1/cluster/apps?finalStatus=FAILED&finishedTimeBegin=%s&finishedTimeEnd=%s",
String.valueOf(_lastTime + 1), String.valueOf(_currentTime)));
"/ws/v1/cluster/apps?finalStatus=FAILED&state=FINISHED&finishedTimeBegin=%s&finishedTimeEnd=%s",
String.valueOf(_lastTime + 1), String.valueOf(_currentTime)));
List<AnalyticJob> failedApps = readApps(failedAppsURL);
logger.info("The failed apps URL is " + failedAppsURL);
appList.addAll(failedApps);
Expand Down

0 comments on commit e722f2f

Please sign in to comment.