public Map<ShardInfo, NodeInfo> getWriteTargetPrimaryShards(boolean clientNodesOnly) { for (int retries = 0; retries < 3; retries++) { Map<ShardInfo, NodeInfo> map = doGetWriteTargetPrimaryShards(clientNodesOnly); if (map != null) { return map; } } throw new EsHadoopIllegalStateException("Cluster state volatile; cannot find node backing shards - please check whether your cluster is stable"); }
public Map<ShardInfo, NodeInfo> getWriteTargetPrimaryShards(boolean clientNodesOnly) { for (int retries = 0; retries < 3; retries++) { Map<ShardInfo, NodeInfo> map = doGetWriteTargetPrimaryShards(clientNodesOnly); if (map != null) { return map; } } throw new EsHadoopIllegalStateException("Cluster state volatile; cannot find node backing shards - please check whether your cluster is stable"); }
public Map<Shard, Node> getWriteTargetPrimaryShards(boolean clientNodesOnly) { for (int retries = 0; retries < 3; retries++) { Map<Shard, Node> map = doGetWriteTargetPrimaryShards(clientNodesOnly); if (map != null) { return map; } } throw new EsHadoopIllegalStateException("Cluster state volatile; cannot find node backing shards - please check whether your cluster is stable"); }
public Map<ShardInfo, NodeInfo> getWriteTargetPrimaryShards(boolean clientNodesOnly) { for (int retries = 0; retries < 3; retries++) { Map<ShardInfo, NodeInfo> map = doGetWriteTargetPrimaryShards(clientNodesOnly); if (map != null) { return map; } } throw new EsHadoopIllegalStateException("Cluster state volatile; cannot find node backing shards - please check whether your cluster is stable"); }
public Map<ShardInfo, NodeInfo> getWriteTargetPrimaryShards(boolean clientNodesOnly) { for (int retries = 0; retries < 3; retries++) { Map<ShardInfo, NodeInfo> map = doGetWriteTargetPrimaryShards(clientNodesOnly); if (map != null) { return map; } } throw new EsHadoopIllegalStateException("Cluster state volatile; cannot find node backing shards - please check whether your cluster is stable"); }