Michael Ho has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/11234 )

Change subject: IMPALA-7444: Improve logging of opening/closing/expiring 
sessions.
......................................................................


Patch Set 3: Code-Review+2

(1 comment)

http://gerrit.cloudera.org:8080/#/c/11234/3/be/src/service/impala-server.cc
File be/src/service/impala-server.cc:

http://gerrit.cloudera.org:8080/#/c/11234/3/be/src/service/impala-server.cc@1975
PS3, Line 1975:     LOG_IF(INFO, expired_cnt > 0) << "Expired sessions. Count: 
" << expired_cnt
              :                                   << ". Time: " << UnixMillis() 
- now << " milliseconds.";
nit: LOG_IF(INFO, expired_cnt > 0) << Substitute("Expired $0 sessions.", 
expired_cnt);

I believe the timestamp at the log line is a reasonable proxy for the time when 
the above critical section completed so there may not be a need to log the time 
here.



--
To view, visit http://gerrit.cloudera.org:8080/11234
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iecf2d3ce707cc36c21da8a2459c2f68cf0b56a4a
Gerrit-Change-Number: 11234
Gerrit-PatchSet: 3
Gerrit-Owner: Zoram Thanga <zo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Michael Ho <k...@cloudera.com>
Gerrit-Reviewer: Zoram Thanga <zo...@cloudera.com>
Gerrit-Reviewer: anujphadke <apha...@cloudera.com>
Gerrit-Comment-Date: Fri, 17 Aug 2018 22:49:20 +0000
Gerrit-HasComments: Yes

Reply via email to