public void endJobInput(String dataNode, boolean failed) { mjob++; if (mjob >= maxjob) { createQryJob(Integer.MAX_VALUE); ctx.endJobInput(); } // EngineCtx.LOGGER.info("完成"+mjob+":" + dataNode+" failed:"+failed); }
public void putDBRow(String id, String nid, byte[] rowData, int findex) { rows.put(id, rowData); ids.put(id, nid); joinindex = findex; // ids.offer(nid); int batchSize = 999; // 满1000条,发送一个查询请求 if (ids.size() > batchSize) { createQryJob(batchSize); } }