Skip to content

Conversation

@iRakson
Copy link
Contributor

@iRakson iRakson commented Aug 30, 2019

What changes were proposed in this pull request?

Log levels in Executor.scala are changed from DEBUG to INFO.

Why are the changes needed?

Logging level DEBUG is too low here. These messages are simple acknowledgement for successful loading and initialization of plugins. So its better to keep them in INFO level.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Manually tested.

val pluginNames = conf.get(EXECUTOR_PLUGINS)
if (pluginNames.nonEmpty) {
logDebug(s"Initializing the following plugins: ${pluginNames.mkString(", ")}")
logInfo(s"Initializing the following plugins: ${pluginNames.mkString(", ")}")
Copy link
Member

Choose a reason for hiding this comment

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

Hi, @iRakson . At the PR description, could you describe your reason why this should be INFO?

Copy link
Member

Choose a reason for hiding this comment

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

It sounds reasonable to use logInfo for this message. The message is only shown once for each executor. Debug level might be too low here.

@gatorsmile
Copy link
Member

ok to test

@gatorsmile
Copy link
Member

LGTM

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Aug 31, 2019

Got it. However, this PR intentionally violates our templates. Our template consists of four parts and the second part is the following. The author had better follow the official Apache Spark guideline.

Why are the changes needed?

Please update the PR description before you merge this, @gatorsmile . Thanks~

@SparkQA
Copy link

SparkQA commented Sep 1, 2019

Test build #109988 has finished for PR 25634 at commit 069e4ab.

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

@HyukjinKwon
Copy link
Member

Yes, please keep the items in the PR description ...

@iRakson
Copy link
Contributor Author

iRakson commented Sep 10, 2019

@gatorsmile @dongjoon-hyun PR description has been modified. Please review.

@srowen
Copy link
Member

srowen commented Sep 16, 2019

(Pending tests of course, and Jenkins is offline right now)

@SparkQA
Copy link

SparkQA commented Sep 16, 2019

Test build #4867 has finished for PR 25634 at commit 069e4ab.

  • This patch fails Spark unit tests.
  • This patch does not merge cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

Although the failure is irrelevant to this, I tested this with the failed test cases. I'll merge this to master. Thank you, @iRakson , @gatorsmile , @HyukjinKwon and @srowen .

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.

6 participants