Skip to content

Conversation

@pgandhi999
Copy link

The fix deployed for SPARK-21541 resulted in the Application Master to set the final status of a spark application as Failed for the client mode as the flag 'registered' was not being set to true for client mode. So, in order to fix the issue, I have set the flag 'registered' as true in client mode on successfully registering Application Master.

How was this patch tested?

Tested the patch manually.

Before:
screen shot-before2

After:
screen shot-after2

Please review http://spark.apache.org/contributing.html before opening a pull request.

pgandhi and others added 10 commits July 21, 2017 16:00
Added the case ExecutorLostFailure which was previously not there, thus, the default case would be executed in which case, task would be marked as completed.
Apache Spark Pull Request - July 26, 2017
…es not create SparkContext

Added a flag to check whether user has initialized Spark Context. If it is true, then we let Application Master unregister with Resource Manager else we do not.
… that does not create SparkContext"

This reverts commit f454c89.

"Merged another issue to this one by mistake"
Added a flag to check whether user has initialized SparkContext. If it is true, we let Application Master unregister with Resource Manager else, we do not let AM unregister with RM.
…d for Client Mode

[SPARK-21585]: Application Master marking application status as Failed for Client Mode - Setting the flag 'registered' as true in client mode on successfully registering Application Master.
@tgravescs
Copy link
Contributor

ok to test

@SparkQA
Copy link

SparkQA commented Jul 31, 2017

Test build #80095 has finished for PR 18788 at commit 63e01b8.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class OneVsRestParams(HasFeaturesCol, HasLabelCol, HasWeightCol, HasPredictionCol):
  • case class UnresolvedSubqueryColumnAliases(
  • sealed trait FrameType
  • sealed trait SpecialFrameBoundary extends Expression with Unevaluable
  • sealed trait WindowFrame extends Expression with Unevaluable
  • class ArrowWriter(

@tgravescs
Copy link
Contributor

+1

@tgravescs
Copy link
Contributor

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants