/** @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 order.
   *
   * @return Local node order.
   */
  public long localNodeOrder() {
    assert ctx.discovery() != null;

    return ctx.discovery().localNode().order();
  }