spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshro...@apache.org
Subject git commit: [SPARK-3089] Fix meaningless error message in ConnectionManager
Date Tue, 19 Aug 2014 17:15:22 GMT
Repository: spark
Updated Branches:
  refs/heads/master 7eb9cbc27 -> cbfc26ba4


[SPARK-3089] Fix meaningless error message in ConnectionManager

Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes #2000 from sarutak/SPARK-3089 and squashes the following commits:

02dfdea [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into SPARK-3089
e759ce7 [Kousuke Saruta] Improved error message when closing SendingConnection


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/cbfc26ba
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/cbfc26ba
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/cbfc26ba

Branch: refs/heads/master
Commit: cbfc26ba45f49559e64276c72e3054c6fe30ddd5
Parents: 7eb9cbc
Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
Authored: Tue Aug 19 10:15:11 2014 -0700
Committer: Josh Rosen <joshrosen@apache.org>
Committed: Tue Aug 19 10:15:11 2014 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/network/ConnectionManager.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/cbfc26ba/core/src/main/scala/org/apache/spark/network/ConnectionManager.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/network/ConnectionManager.scala b/core/src/main/scala/org/apache/spark/network/ConnectionManager.scala
index e77d762..b3e951d 100644
--- a/core/src/main/scala/org/apache/spark/network/ConnectionManager.scala
+++ b/core/src/main/scala/org/apache/spark/network/ConnectionManager.scala
@@ -467,7 +467,7 @@ private[spark] class ConnectionManager(
 
           val sendingConnectionOpt = connectionsById.get(remoteConnectionManagerId)
           if (!sendingConnectionOpt.isDefined) {
-            logError("Corresponding SendingConnectionManagerId not found")
+            logError(s"Corresponding SendingConnection to ${remoteConnectionManagerId} not
found")
             return
           }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message