Skip to content

Commit

Permalink
[SPARK-11630][CORE] ClosureCleaner moved from warning to debug
Browse files Browse the repository at this point in the history
## What changes were proposed in this pull request?
ClosureCleaner moved from warning to debug
## How was this patch tested?
Existing tests

Author: Rekha Joshi <[email protected]>
Author: rjoshi2 <[email protected]>

Closes apache#20337 from rekhajoshm/SPARK-11630-1.
  • Loading branch information
rekhajoshm authored and srowen committed Jan 22, 2018
1 parent 87ffe7a commit 4327ccf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private[spark] object ClosureCleaner extends Logging {
accessedFields: Map[Class[_], Set[String]]): Unit = {

if (!isClosure(func.getClass)) {
logWarning("Expected a closure; got " + func.getClass.getName)
logDebug(s"Expected a closure; got ${func.getClass.getName}")
return
}

Expand Down

0 comments on commit 4327ccf

Please sign in to comment.