Skip to content

[SPARK-33504][CORE][3.0] The application log in the Spark history server contains sensitive attributes should be redacted#31631

Closed
viirya wants to merge 1 commit into
apache:branch-3.0from
viirya:SPARK-33504-3.0
Closed

[SPARK-33504][CORE][3.0] The application log in the Spark history server contains sensitive attributes should be redacted#31631
viirya wants to merge 1 commit into
apache:branch-3.0from
viirya:SPARK-33504-3.0

Conversation

@viirya

@viirya viirya commented Feb 24, 2021

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

To make sure the sensitive attributes to be redacted in the history server log. This is the backport of original PR #30446.

Why are the changes needed?

We found the secure attributes like password in SparkListenerJobStart and SparkListenerStageSubmitted events would not been redated, resulting in sensitive attributes can be viewd directly.

The screenshot can be viewed in the attachment of JIRA Spark-33504

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit test.

@viirya

viirya commented Feb 24, 2021

Copy link
Copy Markdown
Member Author

cc @Kyoty @tgravescs @dongjoon-hyun

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @viirya !

@SparkQA

SparkQA commented Feb 24, 2021

Copy link
Copy Markdown

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

@SparkQA

SparkQA commented Feb 24, 2021

Copy link
Copy Markdown

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

@SparkQA

SparkQA commented Feb 24, 2021

Copy link
Copy Markdown

Test build #135405 has finished for PR 31631 at commit 23bf3fe.

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

@viirya

viirya commented Feb 24, 2021

Copy link
Copy Markdown
Member Author

Thanks. Merging to branch-3.0.

viirya added a commit that referenced this pull request Feb 24, 2021
…ver contains sensitive attributes should be redacted

### What changes were proposed in this pull request?

To make sure the sensitive attributes to be redacted in the history server log. This is the backport of original PR #30446.

### Why are the changes needed?

We found the secure attributes like password  in SparkListenerJobStart and SparkListenerStageSubmitted events would not been redated, resulting in sensitive attributes can be viewd directly.

The screenshot can be viewed in the attachment of JIRA Spark-33504

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

No

### How was this patch tested?

Unit test.

Closes #31631 from viirya/SPARK-33504-3.0.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
@viirya viirya closed this Feb 24, 2021
rshkv pushed a commit to palantir/spark that referenced this pull request Mar 9, 2021
…ver contains sensitive attributes should be redacted

### What changes were proposed in this pull request?

To make sure the sensitive attributes to be redacted in the history server log. This is the backport of original PR apache#30446.

### Why are the changes needed?

We found the secure attributes like password  in SparkListenerJobStart and SparkListenerStageSubmitted events would not been redated, resulting in sensitive attributes can be viewd directly.

The screenshot can be viewed in the attachment of JIRA Spark-33504

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

No

### How was this patch tested?

Unit test.

Closes apache#31631 from viirya/SPARK-33504-3.0.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
@viirya viirya deleted the SPARK-33504-3.0 branch December 27, 2023 18:24
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