HBASE-15319 clearJmxCache does not take effect actually
This commit is contained in:
parent
630a65825e
commit
a3b4575f70
|
@ -52,7 +52,7 @@ public class JmxCacheBuster {
|
|||
public static void clearJmxCache() {
|
||||
//If there are more then 100 ms before the executor will run then everything should be merged.
|
||||
ScheduledFuture future = fut.get();
|
||||
if ((future == null || (!future.isDone() && future.getDelay(TimeUnit.MILLISECONDS) > 100))) {
|
||||
if ((future != null && (!future.isDone() && future.getDelay(TimeUnit.MILLISECONDS) > 100))) {
|
||||
// BAIL OUT
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue