[
https://issues.apache.org/jira/browse/TEZ-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881729#comment-13881729
]
Jonathan Eagles commented on TEZ-749:
-------------------------------------
My two initial thoughts
* Move from guava's HashBiMap to commons-collections4 DualLinkedHashBidiMap
since guava doesn't implement an LinkedHashBiMap yet
* Mave from guava's HashBiMap to builtin LinkedHashMap and change the
containsValue(edge.getInput/OutputVertex()) calls to
containsKey(edge.getInput/OutputVertex().getVertexName())
http://commons.apache.org/proper/commons-collections/javadocs/api-release/org/apache/commons/collections4/bidimap/DualLinkedHashBidiMap.html
> Maintain order of vertices as specified by the user
> ---------------------------------------------------
>
> Key: TEZ-749
> URL: https://issues.apache.org/jira/browse/TEZ-749
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Bikas Saha
> Assignee: Jonathan Eagles
> Labels: newbie
>
> Vertices in the dag should have the same order as when they were added by the
> user. So if the user does dag.addVertex(va).addVertex(vb) then va should have
> id 0 and vb should have id 1.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)