if (null == node) {
LOG.warn("Null node in plan graph");
return;
} else if (node instanceof OutputNode) {
OutputNode outputNode = (OutputNode) node;
String logicalFlumeNode = outputNode.getFlumeNodeName();
newElem = new OutputElement(newContext,
(Schema) outputNode.getAttr(PlanNode.INPUT_SCHEMA_ATTR),
outputNode.getInputFields(), mFlumeConfig, logicalFlumeNode,
(Schema) outputNode.getAttr(PlanNode.OUTPUT_SCHEMA_ATTR),
outputNode.getOutputFields(), mRootSymbolTable);
if (null != logicalFlumeNode) {
mLocalFlow.setFlumeRequired(true);
}
} else if (node instanceof MemoryOutputNode) {
MemoryOutputNode memoryNode = (MemoryOutputNode) node;