Pooja Nilangekar has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/11052 )

Change subject: IMPALA-6644: Add last heartbeat timestamp into Statestore metric
......................................................................


Patch Set 5:

(12 comments)

http://gerrit.cloudera.org:8080/#/c/11052/4//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/11052/4//COMMIT_MSG@9
PS4, Line 9: After this patch, the statestore keeps track of the last successful
           : heartbeat timestamp which is exposed as a subscriber metric on the
           : statestore debug page. Also adds a monitoring thread that
           : periodically checks the last heartbeat timestamp for all the
           : subscribers and l
> After this patch, the statestore keeps track of the last successful heartbe
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.h
File be/src/statestore/statestore.h:

http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.h@418
PS4, Line 418: ms);
> milliseconds or ms
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.h@442
PS4, Line 442:     /// The timestamp of the last successful heartbeat in 
milliseconds. A timestamp much
             :     /// older than the heartbeat frequency implies an unr
> The timestamp of the last successful heartbeat in milliseconds.
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.h@444
PS4, Line 444: 4_t last_heartbe
> heartbeat frequency
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.h@532
PS4, Line 532: :unique_ptr<Thread> heartbeat_monitoring_thread_;
> Thread that monitors the heartbeats of all subscribers.
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.h@684
PS4, Line 684: rtbeat_monitoring_frequency_ms mi
> the heartbeats of all subscribers every
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.h@686
PS4, Line 686:
> that
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.h@686
PS4, Line 686:
             :   [[noreturn]] void MonitorSub
> subscriber's Id.
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.cc
File be/src/statestore/statestore.cc:

http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.cc@424
PS4, Line 424:  DCHECK(metrics != NULL);
             :   metrics_ = metrics;
             :   num_subscribers_metric_ = 
metrics->AddGauge(STATESTORE_LIVE_SUBSCRIBERS, 0);
> move this to Init() and return status
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.cc@1003
PS4, Line 1003: s,
> $0
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/be/src/statestore/statestore.cc@1004
PS4, Line 1004:
> nit: add a space after comma
Done


http://gerrit.cloudera.org:8080/#/c/11052/4/www/statestore_subscribers.tmpl
File www/statestore_subscribers.tmpl:

http://gerrit.cloudera.org:8080/#/c/11052/4/www/statestore_subscribers.tmpl@31
PS4, Line 31:   <th>Last heartbeat timestamp</th>
> nit: add " (ms)"
The timestamp is printed in the following format:
        yyyy-mm-dd hh:mm:ss.ms



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I754adccc4569e8219d5d01500cccdfc8782953f7
Gerrit-Change-Number: 11052
Gerrit-PatchSet: 5
Gerrit-Owner: Pooja Nilangekar <[email protected]>
Gerrit-Reviewer: Bikramjeet Vig <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Pooja Nilangekar <[email protected]>
Gerrit-Reviewer: Sailesh Mukil <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Comment-Date: Fri, 03 Aug 2018 18:47:54 +0000
Gerrit-HasComments: Yes

Reply via email to