Skip to content

Commit

Permalink
switch back
Browse files Browse the repository at this point in the history
  • Loading branch information
tgravescs committed Sep 29, 2014
1 parent f0b6519 commit 32f4dfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ private[spark] class ApplicationMaster(args: ApplicationMasterArguments,
if (!unregistered) {
// we only want to unregister if we don't want the RM to retry
if (finalStatus == FinalApplicationStatus.SUCCEEDED || isLastAttempt) {
cleanupStagingDir()
unregister(finalStatus, finalMsg)
cleanupStagingDir()
}
}
}
Expand Down

0 comments on commit 32f4dfa

Please sign in to comment.