Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Preserve order of DAG nodes by their names

  • Loading branch information...
1 parent accb5d0 commit 3ab5552a083faa076585ae91dc2a2dc3c7e864cb @billonahill billonahill committed
3  pig/src/main/java/com/twitter/ambrose/pig/
@@ -43,6 +43,7 @@
import java.util.List;
import java.util.Map;
import java.util.Properties;
+import java.util.TreeMap;
* PigProgressNotificationListener that collects plan and job information from within a Pig runtime,
@@ -60,7 +61,7 @@
private String workflowVersion;
private List<JobInfo> jobInfoList = new ArrayList<JobInfo>();
- private Map<String, DAGNode> dagNodeNameMap = new HashMap<String, DAGNode>();
+ private Map<String, DAGNode> dagNodeNameMap = new TreeMap<String, DAGNode>();
private HashSet<String> completedJobIds = new HashSet<String>();

0 comments on commit 3ab5552

Please sign in to comment.
Something went wrong with that request. Please try again.