/** @return Hadoop-enabled nodes. */ public Collection<ClusterNode> nodes() { return ctx.discovery() .cacheNodes( CU.SYS_CACHE_HADOOP_MR, new AffinityTopologyVersion(ctx.discovery().topologyVersion())); }
/** * Gets local node ID. Shortcut for {@code kernalContext().localNodeId()}. * * @return Local node ID. */ public UUID localNodeId() { return ctx.localNodeId(); }
/** * Gets local node order. * * @return Local node order. */ public long localNodeOrder() { assert ctx.discovery() != null; return ctx.discovery().localNode().order(); }