You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2015/05/28 21:04:30 UTC

[3/5] storm git commit: fix log presentation: (str nil) is empty string, (pr-str nil) is "nil"

fix log presentation: (str nil) is empty string, (pr-str nil) is "nil"


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

Branch: refs/heads/master
Commit: 6f62a4e61e1f6d3f2d41d068b78b8e859c751338
Parents: 700c8ed
Author: Jungtaek Lim <ka...@gmail.com>
Authored: Sat Apr 25 23:50:46 2015 +0900
Committer: Jungtaek Lim <ka...@gmail.com>
Committed: Sat Apr 25 23:50:46 2015 +0900

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/daemon/worker.clj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/6f62a4e6/storm-core/src/clj/backtype/storm/daemon/worker.clj
----------------------------------------------------------------------
diff --git a/storm-core/src/clj/backtype/storm/daemon/worker.clj b/storm-core/src/clj/backtype/storm/daemon/worker.clj
index 0fddef5..a83146b 100644
--- a/storm-core/src/clj/backtype/storm/daemon/worker.clj
+++ b/storm-core/src/clj/backtype/storm/daemon/worker.clj
@@ -135,7 +135,7 @@
                     (let [remote (.get remoteMap node+port)]
                       (if (not-nil? task)
                         (.add remote (TaskMessage. task (.serialize serializer tuple)))
-                        (log-warn "Can't transfer tuple - task value is null. tuple type: " (type tuple) " and information: " tuple))
+                        (log-warn "Can't transfer tuple - task value is nil. tuple type: " (pr-str (type tuple)) " and information: " (pr-str tuple)))
                      ))))
                 (local-transfer local)
                 (disruptor/publish transfer-queue remoteMap)