### What changes were proposed in this pull request? - Fix commit metrics in application heartbeat - Change client side application heartbeat message log level to info - Improve heartbeat log by unify the word "heartbeat" ### Why are the changes needed? `commitHandler.commitMetrics()` has side effects, multiple calls to get values independently is incorrect. ``` def commitMetrics(): (Long, Long) = (totalWritten.sumThenReset(), fileCount.sumThenReset()) ``` ### Does this PR introduce _any_ user-facing change? Yes, bug fix. ### How was this patch tested? Review. Closes #1617 from pan3793/CELEBORN-708. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||