[ 
https://issues.apache.org/jira/browse/HIVE-22183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927397#comment-16927397
 ] 

Peter Vary commented on HIVE-22183:
-----------------------------------

[~belugabehr]: Sorry, I have pushed to master before seeing your comment. Feel 
free to raise any questions anyway.

[~szita]: Thanks, for the review!

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

Reply via email to