[
https://issues.apache.org/jira/browse/HIVE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691668#comment-13691668
]
Phabricator commented on HIVE-4733:
-----------------------------------
navis has commented on the revision "HIVE-4733 [jira] HiveLockObjectData is not
compared properly".
INLINE COMMENTS
ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java:448
It seemed that this fix is merged with other one which was in progress. I'm
also not expert on this class and even haven't read intensively. Can I ask your
opinion? Should we return here leaving some log messages?
REVISION DETAIL
https://reviews.facebook.net/D11277
BRANCH
HIVE-4733
ARCANIST PROJECT
hive
To: JIRA, ashutoshc, navis
Cc: brock
> HiveLockObjectData is not compared properly
> -------------------------------------------
>
> Key: HIVE-4733
> URL: https://issues.apache.org/jira/browse/HIVE-4733
> Project: Hive
> Issue Type: Bug
> Components: Locking
> Reporter: Navis
> Assignee: Navis
> Priority: Trivial
> Fix For: 0.12.0
>
> Attachments: HIVE-4733.D11277.1.patch, HIVE-4733.D11277.2.patch
>
>
> {noformat}
> ret = ret && (clientIp == null) ? target.getClientIp() == null :
> clientIp.equals(target.getClientIp());
> {noformat}
> seemed intended to be
> {noformat}
> ret = ret && (clientIp == null ? target.getClientIp() == null :
> clientIp.equals(target.getClientIp()));
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira