@Override public IgniteException apply(IgniteCheckedException e) { ClusterTopologyException topEx = new ClusterTopologyException(e.getMessage(), e); ClusterTopologyCheckedException checked = (ClusterTopologyCheckedException)e; if (checked.retryReadyFuture() != null) topEx.retryReadyFuture(new IgniteFutureImpl<>(checked.retryReadyFuture())); return topEx; } });
jr.getJobContext().getJobId(), null, null, null, null, null, null, false, null); fakeRes.setFakeException(new ClusterTopologyException("Node has left grid: " + nodeId));
/** * @param part Partition. * @param qry Query. * @param qryMgr Query manager. * @param cctx Cache context. */ private ScanQueryFallbackClosableIterator(int part, GridCacheQueryAdapter qry, GridCacheQueryManager qryMgr, GridCacheContext cctx) { this.qry = qry; this.qryMgr = qryMgr; this.cctx = cctx; this.part = part; nodes = fallbacks(cctx.shared().exchange().readyAffinityVersion()); if (F.isEmpty(nodes)) throw new ClusterTopologyException("Failed to execute the query " + "(all affinity nodes left the grid) [cache=" + cctx.name() + ", qry=" + qry + ", startTopVer=" + cctx.versions().last().topologyVersion() + ", curTopVer=" + qryMgr.queryTopologyVersion().topologyVersion() + ']'); init(); }
resFut.onDone(new ClusterTopologyException("Failed to map key to node " + "(no nodes with cache found in topology) [infos=" + entries.size() + ", cacheName=" + cacheName + ']'));
case "BinaryObjectException": throw new BinaryObjectException(arg); case "ClusterGroupEmptyException": throw new ClusterGroupEmptyException(arg); case "ClusterTopologyException": throw new ClusterTopologyException(arg); case "ComputeExecutionRejectedException": throw new ComputeExecutionRejectedException(arg); case "ComputeJobFailoverException": throw new ComputeJobFailoverException(arg);
throw new ClusterTopologyException("Topology was changed. Please retry on stable topology.");
res.getJobContext().getJobId(), null, null, null, null, null, null, false, null); fakeRes.setFakeException(new ClusterTopologyException("Failed to send job due to node failure: " + node)); ", taskSesId=" + ses.getId() + ", jobSesId=" + res.getJobContext().getJobId() + ']'); fakeErr = new ClusterTopologyException("Failed to send job due to node failure: " + node, e);
@Override public IgniteException apply(IgniteCheckedException e) { ClusterTopologyException topEx = new ClusterTopologyException(e.getMessage(), e); ClusterTopologyCheckedException checked = (ClusterTopologyCheckedException)e; if (checked.retryReadyFuture() != null) topEx.retryReadyFuture(new IgniteFutureImpl<>(checked.retryReadyFuture())); return topEx; } });
jr.getJobContext().getJobId(), null, null, null, null, null, null, false, null); fakeRes.setFakeException(new ClusterTopologyException("Node has left grid: " + nodeId));
/** * @param part Partition. * @param qry Query. * @param qryMgr Query manager. * @param cctx Cache context. */ private ScanQueryFallbackClosableIterator(int part, GridCacheQueryAdapter qry, GridCacheQueryManager qryMgr, GridCacheContext cctx) { this.qry = qry; this.qryMgr = qryMgr; this.cctx = cctx; this.part = part; nodes = fallbacks(cctx.shared().exchange().readyAffinityVersion()); if (F.isEmpty(nodes)) throw new ClusterTopologyException("Failed to execute the query " + "(all affinity nodes left the grid) [cache=" + cctx.name() + ", qry=" + qry + ", startTopVer=" + cctx.versions().last().topologyVersion() + ", curTopVer=" + qryMgr.queryTopologyVersion().topologyVersion() + ']'); init(); }
resFut.onDone(new ClusterTopologyException("Failed to map key to node " + "(no nodes with cache found in topology) [infos=" + entries.size() + ", cacheName=" + cacheName + ']'));
throw new ClusterTopologyException("Can not reserve partition. Please retry on stable topology.");
throw new ClusterTopologyException("Topology was changed. Please retry on stable topology.");
res.getJobContext().getJobId(), null, null, null, null, null, null, false, null); fakeRes.setFakeException(new ClusterTopologyException("Failed to send job due to node failure: " + node)); ", taskSesId=" + ses.getId() + ", jobSesId=" + res.getJobContext().getJobId() + ']'); fakeErr = new ClusterTopologyException("Failed to send job due to node failure: " + node, e);