Collect caches info only on active cluster.
@@ -335,6 +335,7 @@ public class VisorNodeDataCollectorJob extends VisorJob<VisorNodeDataCollectorTa
if (debug)
start0 = log(ignite.log(), "Collected memory metrics", getClass(), start0);
+ if (ignite.cluster().active())
caches(res, arg);
if (debug)
