You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by yu...@apache.org on 2023/08/20 01:39:40 UTC
[spark] branch master updated: [SPARK-44880][UI] Remove unnecessary right curly brace at the end of the thread locks info
This is an automated email from the ASF dual-hosted git repository.
yumwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 3f380b9ecc8 [SPARK-44880][UI] Remove unnecessary right curly brace at the end of the thread locks info
3f380b9ecc8 is described below
commit 3f380b9ecc8b27f6965b554061572e0990f05132
Author: Kent Yao <ya...@apache.org>
AuthorDate: Sun Aug 20 09:39:07 2023 +0800
[SPARK-44880][UI] Remove unnecessary right curly brace at the end of the thread locks info
### What changes were proposed in this pull request?
Remove unnecessary curly braces at the end of the thread locks info.
### Why are the changes needed?
<img width="1405" alt="image" src="https://github.com/apache/spark/assets/8326978/34bb71e9-1982-4856-bb55-e10cd6fcf707">
the right curly brace is dangling.
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
existing ut
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #42571 from yaooqinn/SPARK-44880.
Authored-by: Kent Yao <ya...@apache.org>
Signed-off-by: Yuming Wang <yu...@ebay.com>
---
core/src/main/scala/org/apache/spark/util/Utils.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/main/scala/org/apache/spark/util/Utils.scala b/core/src/main/scala/org/apache/spark/util/Utils.scala
index 35e99785f74..c211d6bba5d 100644
--- a/core/src/main/scala/org/apache/spark/util/Utils.scala
+++ b/core/src/main/scala/org/apache/spark/util/Utils.scala
@@ -2109,9 +2109,9 @@ private[spark] object Utils
def lockString: String = {
lock match {
case monitor: MonitorInfo =>
- s"Monitor(${lock.getClassName}@${lock.getIdentityHashCode}})"
+ s"Monitor(${lock.getClassName}@${monitor.getIdentityHashCode})"
case _ =>
- s"Lock(${lock.getClassName}@${lock.getIdentityHashCode}})"
+ s"Lock(${lock.getClassName}@${lock.getIdentityHashCode})"
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org