You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2014/12/26 06:14:13 UTC
[jira] [Comment Edited] (TEZ-1892) Add hashCode and equals for
Vertex/VertexGroup/Edge/GroupInputEdge
[ https://issues.apache.org/jira/browse/TEZ-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258879#comment-14258879 ]
Jeff Zhang edited comment on TEZ-1892 at 12/26/14 5:13 AM:
-----------------------------------------------------------
Attach the patch,
* use vertexName to identify Vertex
* use VertexGroup's groupName & members to identify VertexGroup
* use Edge's inputVertex & outputVertex to identify Edge
* use GroupInputEdge's vertexGroup name and outputVertex's name to identify GroupInputEdge
was (Author: zjffdu):
Attach the patch, use GroupInputEdge's vertexGroup name and outputVertex's name to identify GroupInputEdge
> Add hashCode and equals for Vertex/VertexGroup/Edge/GroupInputEdge
> ------------------------------------------------------------------
>
> Key: TEZ-1892
> URL: https://issues.apache.org/jira/browse/TEZ-1892
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Jeff Zhang
> Assignee: Jeff Zhang
> Priority: Minor
> Attachments: TEZ-1892-1.patch
>
>
> We will detect duplicated groupInputEdges using HashMap, but no hashCode and equals method for GroupInputEdge. Although it would still throw exception when duplicated GroupInputEdges is added, but it is not the correct exception.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)