Skip to content

Conversation

@viirya
Copy link
Member

@viirya viirya commented Dec 18, 2021

What changes were proposed in this pull request?

This patch removes log4j1 properties files, rewrites log4j.properties.template and mention the migration in the migration guide.

Why are the changes needed?

After migrating from log4j1 to log4j2, we can remove log4j1 properties files.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing tests.

@SparkQA
Copy link

SparkQA commented Dec 18, 2021

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

@pan3793
Copy link
Member

pan3793 commented Dec 18, 2021

conf/log4j.properties.template should be updated as well.

@viirya
Copy link
Member Author

viirya commented Dec 18, 2021

Yea, I will update it.

@pan3793
Copy link
Member

pan3793 commented Dec 18, 2021

There is a minor typo mentioned in #34935, please fix and close #34935 if you update conf/log4j.properties.template in this PR.

@SparkQA
Copy link

SparkQA commented Dec 18, 2021

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

@SparkQA
Copy link

SparkQA commented Dec 18, 2021

Test build #146351 has finished for PR 34941 at commit ccdb259.

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

@SparkQA
Copy link

SparkQA commented Dec 18, 2021

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

@SparkQA
Copy link

SparkQA commented Dec 18, 2021

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

@SparkQA
Copy link

SparkQA commented Dec 18, 2021

Test build #146365 has finished for PR 34941 at commit d824ebf.

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

@viirya
Copy link
Member Author

viirya commented Dec 19, 2021

cc @dongjoon-hyun

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM

@github-actions github-actions bot added the DOCS label Dec 19, 2021
@SparkQA
Copy link

SparkQA commented Dec 19, 2021

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

@SparkQA
Copy link

SparkQA commented Dec 19, 2021

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

@github-actions github-actions bot added the BUILD label Dec 19, 2021
@SparkQA
Copy link

SparkQA commented Dec 19, 2021

Test build #146381 has finished for PR 34941 at commit 260b0b2.

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

@SparkQA
Copy link

SparkQA commented Dec 19, 2021

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

@SparkQA
Copy link

SparkQA commented Dec 19, 2021

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

@SparkQA
Copy link

SparkQA commented Dec 20, 2021

Test build #146382 has finished for PR 34941 at commit 79cc6af.

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

@viirya
Copy link
Member Author

viirya commented Dec 20, 2021

Thanks. Merging to master.

@viirya viirya closed this in 34fb801 Dec 20, 2021
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
Copy link
Contributor

@LuciferYang LuciferYang Dec 20, 2021

Choose a reason for hiding this comment

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

log4j2 supports both properties and xml configurations. Do Spark prefer properties? I found that the official documents of log4j2 are always show demos use xml

Copy link
Contributor

Choose a reason for hiding this comment

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

It seems will follow the user's behavior.

@beliefer
Copy link
Contributor

It seems the migration makes break change.

@Ngone51
Copy link
Member

Ngone51 commented Dec 23, 2021

@viirya Did you miss this one: https://github.com/apache/spark/blob/master/core/src/main/resources/org/apache/spark/log4j-defaults.properties?

@viirya
Copy link
Member Author

viirya commented Dec 23, 2021

@Ngone51 Yea, it will be removed by #34965.

@Ngone51
Copy link
Member

Ngone51 commented Dec 23, 2021

Ok, good to know.

sumwale pushed a commit to TIBCOSoftware/snappy-spark that referenced this pull request Feb 9, 2022
This patch removes log4j1 properties files, rewrites log4j.properties.template and mention the migration in the migration guide.

After migrating from log4j1 to log4j2, we can remove log4j1 properties files.

No

Existing tests.

Closes apache#34941 from viirya/remove_log4j_properties.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
jiaoew1991 pushed a commit to Kyligence/spark that referenced this pull request Apr 2, 2022
### What changes were proposed in this pull request?

This patch removes log4j1 properties files, rewrites log4j.properties.template and mention the migration in the migration guide.

### Why are the changes needed?

After migrating from log4j1 to log4j2, we can remove log4j1 properties files.

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

No

### How was this patch tested?

Existing tests.

Closes apache#34941 from viirya/remove_log4j_properties.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
kazuyukitanimura pushed a commit to kazuyukitanimura/spark that referenced this pull request Aug 10, 2022
### What changes were proposed in this pull request?

This patch removes log4j1 properties files, rewrites log4j.properties.template and mention the migration in the migration guide.

### Why are the changes needed?

After migrating from log4j1 to log4j2, we can remove log4j1 properties files.

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

No

### How was this patch tested?

Existing tests.

Closes apache#34941 from viirya/remove_log4j_properties.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
asiunov pushed a commit to ascend-io/spark that referenced this pull request Aug 25, 2022
This patch removes log4j1 properties files, rewrites log4j.properties.template and mention the migration in the migration guide.

After migrating from log4j1 to log4j2, we can remove log4j1 properties files.

No

Existing tests.

Closes apache#34941 from viirya/remove_log4j_properties.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
(cherry picked from commit 34fb801)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants