* @return
*/
private Map<String, List<String>> getNodeIdToDependencies() {
Map<String, List<String>> result = Maps.newHashMap();
try {
Graph stageGraph = queryPlan.getQueryPlan().getStageGraph();
if (stageGraph == null) {
return result;
}
List<Adjacency> adjacencies = stageGraph.getAdjacencyList();
if (adjacencies == null) {
return result;
}
for (Adjacency adj : adjacencies) {
String nodeId = AmbroseHiveUtil.getNodeIdFromNodeName(conf, adj.getNode());