Details
Description
Stating with HDFS-6106 the loop for checking caching is set to be every 30 seconds.
Please implement a way to disable the CacheReplicationMonitor class if there are no paths specified. Adding the first cached path to the NameNode should kick off the CacheReplicationMonitor and when the last one is deleted, the CacheReplicationMonitor should be disabled again.
Alternatively, provide a configuration flag to turn this feature off altogether.