pinxiong commented on issue #9551:
URL: https://github.com/apache/dubbo/issues/9551#issuecomment-1009297632
> Who can help deal with this problem, otherwise everyone's PR can't be
submitted @AlbumenJ @chickenlj @pinxiong
@codeimport @juzi214032 I'll fix this issue.
It can be sure that the cause of this problem is that `zookeeper` instances
didn't work. There are several steps to check when the failed testcases you
have mentioned are running:
1. Check if there are two `zookeeper` processes first
2. Check if the zookeeper archive binary file is downloaded successfully
+ All of download info will be in the given path, if you set
`-DembeddedZookeeperPath`
+ and then to check the `.tmp/zookeeper` directory in `user.home`
+ finally you can check the `.tmp/zookeeper` directory in `java.io.tmpdir`
In most cases, this problem is caused by zooKeeper not being downloaded.
If there is no internet in the running environment, you also can copy the
downloaded zookeeper archive binary (it's version should be equal or greater
than `3.6.0`) in the `.tmp/zookeeper` directory in `user.home`. Here is an
example below:
Suppose you didn't set `-DembeddedZookeeperPath` and
+ `user.home` is `/Users/myhostname`
+ The copied zookeeper archive binary file is named
`apache-zookeeper-3.6.3-bin.tar.gz`
What you need to do as below:
+ Create a directory named `.tmp/zookeeper` in `/Users/myhostname`
+ Copy the file `apache-zookeeper-3.6.3-bin.tar.gz` in
`/Users/myhostname/.tmp/zookeeper`
+ Rename the file `apache-zookeeper-3.6.3-bin.tar.gz` to
`apache-zookeeper-bin.tar.gz`
And then you can have a try.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]