int availableSlots = 0; if (getContext() == null) { if (getContext() != null) { totalResource = getContext().getTotalAvailableResource().getMemory(); taskResource = getContext().getVertexTaskResource().getMemory(); availableSlots = totalResource / taskResource; splits = pruneBuckets(work, splits); return createEventList(sendSerializedEvents, inputSplitInfo); } finally { Utilities.clearWork(jobConf);
ConfVars.LLAP_CLIENT_CONSISTENT_SPLITS)); HiveSplitGenerator splitGenerator = new HiveSplitGenerator(wxConf, mapWork, generateSingleSplit); List<Event> eventList = splitGenerator.initialize(); InputSplit[] result = new InputSplit[eventList.size() - 1];
jobConf); int totalResource = getContext().getTotalAvailableResource().getMemory(); int taskResource = getContext().getVertexTaskResource().getMemory(); int availableSlots = totalResource / taskResource; return createEventList(sendSerializedEvents, inputSplitInfo); } finally { Utilities.clearWork(jobConf);
int availableSlots = 0; if (getContext() == null) { if (getContext() != null) { totalResource = getContext().getTotalAvailableResource().getMemory(); taskResource = getContext().getVertexTaskResource().getMemory(); availableSlots = totalResource / taskResource; InputInitializerContext inputInitializerContext = getContext(); TezCounters tezCounters = null; String counterName; splits = pruneBuckets(work, splits); return createEventList(sendSerializedEvents, inputSplitInfo); } finally { Utilities.clearWork(jobConf);
Preconditions.checkState(HiveConf.getBoolVar(wxConf, ConfVars.LLAP_CLIENT_CONSISTENT_SPLITS)); HiveSplitGenerator splitGenerator = new HiveSplitGenerator(wxConf, mapWork); List<Event> eventList = splitGenerator.initialize();