Skip to content

Conversation

@vanzin
Copy link
Contributor

@vanzin vanzin commented Aug 30, 2017

  • SecurityManager complains when auth is enabled but no secret is defined;
    SparkSubmit doesn't use the auth functionality of the SecurityManager,
    so use a dummy secret to work around the exception.

  • Only reset the log4j configuration when Spark was the one initializing
    it, otherwise user-defined log configuration may be lost.

Tested with the log config file posted to the bug, on a secured YARN cluster.

…ogging.

- SecurityManager complains when auth is enabled but no secret is defined;
  SparkSubmit doesn't use the auth functionality of the SecurityManager,
  so use a dummy secret to work around the exception.

- Only reset the log4j configuration when Spark was the one initializing
  it, otherwise user-defined log configuration may be lost.
@SparkQA
Copy link

SparkQA commented Aug 30, 2017

Test build #81267 has finished for PR 19089 at commit 4b62843.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@vanzin
Copy link
Contributor Author

vanzin commented Aug 31, 2017

Hmm, the change seems to have messed up the logging of the thrift server run during its test suite, which is parsed by the test code.

@jaceklaskowski
Copy link
Contributor

Logs are back with the change. 👍 Thanks (and don't mess it up again fixing STS :))

@SparkQA
Copy link

SparkQA commented Aug 31, 2017

Test build #81290 has finished for PR 19089 at commit 31d6c77.

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

@vanzin
Copy link
Contributor Author

vanzin commented Sep 1, 2017

Merging to master.

@asfgit asfgit closed this in 0bdbefe Sep 1, 2017
@vanzin vanzin deleted the SPARK-21728 branch September 1, 2017 18:00
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