Skip to content

Conversation

@BryanCutler
Copy link
Member

Changed Logging FileAppender to use join in awaitTermination to ensure that thread is properly finished before returning.

@SparkQA
Copy link

SparkQA commented Jan 8, 2016

Test build #48990 has finished for PR 10654 at commit d937d09.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@zsxwing
Copy link
Member

zsxwing commented Jan 8, 2016

You can also remove @volatile private var stopped = false, right?

@BryanCutler
Copy link
Member Author

Yeah, that variable is no longer needed - I already removed it. Did you mean @volatile private var markedForStopped? That one is still used to trigger the thread to exit.

@zsxwing
Copy link
Member

zsxwing commented Jan 8, 2016

Oh, sorry. Didn't notice that you already removed it.

@zsxwing
Copy link
Member

zsxwing commented Jan 8, 2016

LGTM. Merging to master. Thanks, @BryanCutler

@BryanCutler
Copy link
Member Author

No problem! Thanks @zsxwing

@asfgit asfgit closed this in ea104b8 Jan 8, 2016
asfgit pushed a commit that referenced this pull request Jan 15, 2016
…read completion

Changed Logging FileAppender to use join in `awaitTermination` to ensure that thread is properly finished before returning.

Author: Bryan Cutler <[email protected]>

Closes #10654 from BryanCutler/fileAppender-join-thread-SPARK-12701.

(cherry picked from commit ea104b8)
Signed-off-by: Sean Owen <[email protected]>
@srowen
Copy link
Member

srowen commented Jan 15, 2016

Also merged to 1.6

@BryanCutler BryanCutler deleted the fileAppender-join-thread-SPARK-12701 branch February 29, 2016 18:02
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.

4 participants