Skip to content

Conversation

@thejdeep
Copy link
Contributor

What changes were proposed in this pull request?

Added a config spark.yarn.shuffle.service.logs.namespace which can be used to add a namespace suffix to log lines emitted by the External Shuffle Service.

Why are the changes needed?

Since many instances of ESS can be running on the same NM, it would be easier to distinguish between them.

Does this PR introduce any user-facing change?

No

How was this patch tested?

N/A

@github-actions github-actions bot added the DOCS label Sep 23, 2021
@thejdeep
Copy link
Contributor Author

cc : @xkrogen @mridulm

@mridulm
Copy link
Contributor

mridulm commented Sep 23, 2021

+CC @tgravescs, @Ngone51

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-36834][SHUFFLE] Add support for namespacing log lines emitted by ESS [SPARK-36834][SHUFFLE] Add support for namespacing log lines emitted by external shuffle service Sep 23, 2021
@thejdeep thejdeep force-pushed the SPARK-36834 branch 2 times, most recently from c85599f to 59cdb03 Compare September 23, 2021 21:17
@tgravescs
Copy link
Contributor

conceptually looks fine to me too.

@thejdeep
Copy link
Contributor Author

thejdeep commented Oct 4, 2021

Updated the PR with the changes to account for logging in static cases and using period as a delimiter instead of a space. Please review @xkrogen @mridulm Thanks

@thejdeep thejdeep force-pushed the SPARK-36834 branch 2 times, most recently from c13c3a2 to d0380ec Compare October 4, 2021 18:54
@thejdeep thejdeep force-pushed the SPARK-36834 branch 2 times, most recently from d432baa to 6c754cf Compare October 4, 2021 22:30
@thejdeep
Copy link
Contributor Author

thejdeep commented Oct 4, 2021

@tgravescs @mridulm @xkrogen Addressed the comments, please review. Thanks

Copy link
Contributor

@xkrogen xkrogen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic itself LGTM, I think having the base static logger which we later override is a good approach

I think we can make the documentation/messages a bit more user friendly

Copy link
Contributor

@xkrogen xkrogen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except for minor formatting comment

@thejdeep
Copy link
Contributor Author

@mridulm @tgravescs Please take a look, thanks!

Copy link
Contributor

@mridulm mridulm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mridulm
Copy link
Contributor

mridulm commented Oct 14, 2021

Ok to test

@SparkQA
Copy link

SparkQA commented Oct 14, 2021

Test build #144271 has finished for PR 34079 at commit 097516a.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Oct 14, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48750/

…by ESS

 ### What changes were proposed in this pull request?
 Added a config `spark.yarn.shuffle.service.logs.namespace` which can be used to add a namespace suffix to log lines emitted by the External Shuffle Service.

 ### Why are the changes needed?
 Since many instances of ESS can be running on the same NM, it would be easier to distinguish between them.

 ### Does this PR introduce _any_ user-facing change?
 No

 ### How was this patch tested?
 N/A
@SparkQA
Copy link

SparkQA commented Oct 14, 2021

Test build #144272 has finished for PR 34079 at commit c3988e9.

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

@SparkQA
Copy link

SparkQA commented Oct 14, 2021

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48750/

@SparkQA
Copy link

SparkQA commented Oct 14, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48751/

@SparkQA
Copy link

SparkQA commented Oct 14, 2021

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48751/

@asfgit asfgit closed this in 4072a22 Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants