You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by nw...@apache.org on 2019/03/07 18:48:13 UTC

[incubator-heron] branch master updated: Added logging an error status code when stream manager can not connect to tmaster (#3208)

This is an automated email from the ASF dual-hosted git repository.

nwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f2a898  Added logging an error status code when stream manager can not connect to tmaster (#3208)
0f2a898 is described below

commit 0f2a898ab69eab6fe9b13de2e1f15693410e41db
Author: Dmitry Rusakov <dn...@gmail.com>
AuthorDate: Thu Mar 7 10:48:07 2019 -0800

    Added logging an error status code when stream manager can not connect to tmaster (#3208)
---
 heron/stmgr/src/cpp/manager/tmaster-client.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/heron/stmgr/src/cpp/manager/tmaster-client.cpp b/heron/stmgr/src/cpp/manager/tmaster-client.cpp
index b4f2c7b..3046ba5 100644
--- a/heron/stmgr/src/cpp/manager/tmaster-client.cpp
+++ b/heron/stmgr/src/cpp/manager/tmaster-client.cpp
@@ -116,7 +116,7 @@ void TMasterClient::HandleConnect(NetworkErrorCode _status) {
       return;
     }
     LOG(ERROR) << "Could not connect to tmaster at " << get_clientoptions().get_host() << ":"
-               << get_clientoptions().get_port() << std::endl;
+               << get_clientoptions().get_port() << ", Status code: " << _status << std::endl;
     LOG(INFO) << "Will retry again..." << std::endl;
     // Shouldn't be in a state where a previous timer is not cleared yet.
     if (reconnect_timer_id == 0) {