Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Review Request: TestHiveHistory::testQueryloglocParentDirNotExist Test fails on Windows because of some resource leaks in ZK


Copy link to this message
-
Review Request: TestHiveHistory::testQueryloglocParentDirNotExist Test fails on Windows because of some resource leaks in ZK

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/7835/
-----------------------------------------------------------

Review request for hive, Carl Steinbach and Ashutosh Chauhan.
Description
-------

Hive uses ZK for locking. In some test cases, ZK is not behaving well. In thread dumps, I saw it is waiting for locks to be released but they were not getting released. Hive tries to release locks but keeps failing, it eventually times out for its release attempts, which in default settings takes 10 mins. This is also the cause of why some queries take extra-ordinarily long to run. I suggest to disable ZK locking till ZK is certified for windows.In this test case, I don’t see a requirement to use ZK so I am disabling the HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY to work around the issue.
This addresses bug HIVE_3659.
    https://issues.apache.org/jira/browse/HIVE_3659
Diffs
-----

  trunk/ql/src/test/org/apache/hadoop/hive/ql/history/TestHiveHistory.java 1405070

Diff: https://reviews.apache.org/r/7835/diff/
Testing
-------
Thanks,

Kanna Karanam