LiuGuH commented on code in PR #6390:
URL: https://github.com/apache/hadoop/pull/6390#discussion_r1440125583
##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/store/StateStoreService.java:
##########
@@ -116,7 +116,7 @@ public class StateStoreService extends CompositeService {
/** Service to maintain State Store caches. */
private StateStoreCacheUpdateService cacheUpdater;
/** Time the cache was last successfully updated. */
- private long cacheLastUpdateTime;
+ private long cacheLastUpdateTime = 0;
Review Comment:
Good idea, make it initialized in the constructor. Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]