hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4733) HiveLockObjectData is not compared properly
Date Tue, 25 Jun 2013 02:21:20 GMT

     [ https://issues.apache.org/jira/browse/HIVE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phabricator updated HIVE-4733:
------------------------------

    Attachment: HIVE-4733.D11277.3.patch

navis updated the revision "HIVE-4733 [jira] HiveLockObjectData is not compared properly".

  Addressed comments
  1. rollback try/catch on zk.delete(path)
  2. include zk.getChildren() into try/catch clause

Reviewers: ashutoshc, JIRA

REVISION DETAIL
  https://reviews.facebook.net/D11277

CHANGE SINCE LAST DIFF
  https://reviews.facebook.net/D11277?vs=34803&id=35097#toc

BRANCH
  HIVE-4733

ARCANIST PROJECT
  hive

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveLockObject.java
  ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java

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, HIVE-4733.D11277.3.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

Mime
View raw message