hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-3461) hive unit tests fail to get lock using zookeeper on windows
Date Tue, 18 Sep 2012 00:37:07 GMT

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

Thejas M Nair updated HIVE-3461:
--------------------------------

    Attachment: HIVE-3461.1.patch

HIVE-3461.1.patch - Patch adds java.net.preferIPv4Stack property for tests.

                
> hive unit tests fail to get lock using zookeeper on windows
> -----------------------------------------------------------
>
>                 Key: HIVE-3461
>                 URL: https://issues.apache.org/jira/browse/HIVE-3461
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-3461.1.patch
>
>
> Following exception is seen from test cases when lock is attempted -
> {code}
> 2012-08-26 10:33:33,597 ERROR ZooKeeperHiveLockManager (ZooKeeperHiveLockManager.java:lock(317))
- Serious Zookeeper exception:
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /hive_zookeeper_namespace/default
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>         at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>         at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:778)
>         at org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.createChild(ZooKeeperHiveLockManager.java:285)
>         at org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.lockPrimitive(ZooKeeperHiveLockManager.java:353)
>         at org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.lock(ZooKeeperHiveLockManager.java:303)
>         at org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager.lock(ZooKeeperHiveLockManager.java:220)
>         at org.apache.hadoop.hive.ql.Driver.acquireReadWriteLocks(Driver.java:828)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:944)
>         at org.apache.hadoop.hive.ql.QTestUtil.runLoadCmd(QTestUtil.java:458)
>         at org.apache.hadoop.hive.ql.QTestUtil.createSources(QTestUtil.java:505)
>         at org.apache.hadoop.hive.cli.TestCliDriver.<clinit>(TestCliDriver.java:55)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:169)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:374)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1060)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:911)
> {code}

--
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