[ https://issues.apache.org/jira/browse/HIVE-22183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Vary updated HIVE-22183: ------------------------------ Fix Version/s: 4.0.0 Resolution: Fixed Status: Resolved (was: Patch Available) > Prepare for ZooKeeper 3.5 upgrade > --------------------------------- > > Key: HIVE-22183 > URL: https://issues.apache.org/jira/browse/HIVE-22183 > Project: Hive > Issue Type: Task > Reporter: Peter Vary > Assignee: Peter Vary > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-22183.patch > > > Tried to run some tests with 3.5 ZooKeeper, and got the following exception: > {code:java} > java.io.IOException: Waiting for startup of standalone server > at > org.apache.hive.testutils.MiniZooKeeperCluster.startup(MiniZooKeeperCluster.java:253) > at > org.apache.hive.testutils.MiniZooKeeperCluster.startup(MiniZooKeeperCluster.java:184) > at > org.apache.hive.testutils.HiveTestEnvSetup$SetupZookeeper.beforeClass(HiveTestEnvSetup.java:187) > at > org.apache.hive.testutils.HiveTestEnvSetup.before(HiveTestEnvSetup.java:269) > at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46) > at org.junit.rules.RunRules.evaluate(RunRules.java:20) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413) > Options {code} > We uses "stat" 4 letter command to check if the ZooKeeper cluster is running. > In ZooKeeper 3.5 we need to whitelist the commands we use. -- This message was sent by Atlassian Jira (v8.3.2#803003)