-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-48623][CORE] Structured Logging Migrations #46980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
common/utils/src/main/scala/org/apache/spark/util/MavenUtils.scala
Outdated
Show resolved
Hide resolved
...n/scala/org/apache/spark/sql/connect/planner/SparkConnectStreamingQueryListenerHandler.scala
Outdated
Show resolved
Hide resolved
...n/scala/org/apache/spark/sql/connect/planner/SparkConnectStreamingQueryListenerHandler.scala
Outdated
Show resolved
Hide resolved
...n/scala/org/apache/spark/sql/connect/planner/SparkConnectStreamingQueryListenerHandler.scala
Outdated
Show resolved
Hide resolved
core/src/main/scala/org/apache/spark/deploy/ExternalShuffleService.scala
Outdated
Show resolved
Hide resolved
| logError(s"Failed to delete temporary checksum file " + | ||
| s"at ${checksumTmp.getAbsolutePath}") | ||
| logError(log"Failed to delete temporary checksum file at " + | ||
| log"${MDC(LogKeys.FILE_ABSOLUTE_PATH, checksumTmp.getAbsolutePath)}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's just use PATH
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see LogKey.scala has this key which is used in other files: case object FILE_ABSOLUTE_PATH extends LogKey
should we migrate these other occurrences to PATH ? @gengliangwang
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
Outdated
Show resolved
Hide resolved
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
Outdated
Show resolved
Hide resolved
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
Outdated
Show resolved
Hide resolved
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala
Outdated
Show resolved
Hide resolved
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
Outdated
Show resolved
Hide resolved
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
Outdated
Show resolved
Hide resolved
streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala
Outdated
Show resolved
Hide resolved
streaming/src/main/scala/org/apache/spark/streaming/scheduler/ReceivedBlockTracker.scala
Outdated
Show resolved
Hide resolved
streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala
Show resolved
Hide resolved
streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala
Outdated
Show resolved
Hide resolved
streaming/src/main/scala/org/apache/spark/streaming/util/FileBasedWriteAheadLog.scala
Outdated
Show resolved
Hide resolved
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala
Outdated
Show resolved
Hide resolved
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala
Outdated
Show resolved
Hide resolved
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala
Outdated
Show resolved
Hide resolved
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala
Outdated
Show resolved
Hide resolved
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala
Outdated
Show resolved
Hide resolved
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala
Outdated
Show resolved
Hide resolved
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala
Outdated
Show resolved
Hide resolved
common/utils/src/main/scala/org/apache/spark/internal/LogKey.scala
Outdated
Show resolved
Hide resolved
|
Thanks, merging to master |
What changes were proposed in this pull request?
This PR migrates Scala logging to comply with the scala style changes in #46979
Why are the changes needed?
This makes development and PR review of the structured logging migration easier.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Tested by ensuring
dev/scalastylechecks passWas this patch authored or co-authored using generative AI tooling?
No