Package Details: zookeeper 3.4.8-1

Git Clone URL: https://aur.archlinux.org/zookeeper.git (read-only)
Package Base: zookeeper
Description: Open-source server which enables highly reliable distributed coordination
Upstream URL: https://zookeeper.apache.org/
Licenses: Apache
Submitter: srl
Maintainer: benjumanji (galaux)
Last Packager: benjumanji
Votes: 14
Popularity: 0.326599
First Submitted: 2012-06-29 03:51
Last Updated: 2016-03-09 20:17

Required by (4)

Sources (5)

Latest Comments

benjumanji commented on 2016-04-10 21:59

For those curious about what happened to 3.4.7

https://issues.apache.org/jira/browse/ZOOKEEPER-2347

It got pulled because of this bug.

galaux commented on 2016-03-09 20:22

Hi! Ok, thanks :)

benjumanji commented on 2016-03-09 20:20

Galaux, I added you as a co-omaintainer, because you are clearly on top of this.

benjumanji commented on 2016-03-09 20:18

Sorry about the delay, I didn't have notifications going to the right email. I have bumped to 3.4.8. How odd what happened to version 3.4.7? Very odd.

galaux commented on 2016-01-15 17:30

Version 3.4.7 is not mentioned in the list of releases [0]. Some download site have it [1] but some don't [2]. Strange inconsistency! I would just way for upstream to fix it. In the meantime, a simple fix on the PKGBUILD should look like this:

```
- _closest=$(curl "${_apache_cgi}?asjson=1" | tr -d '\n ' | sed -r 's/.*"preferred":"(.+)".*/\1/')
+ _closest="https://archive.apache.org/dist/"
```

[0] https://zookeeper.apache.org/releases.html
[1] https://archive.apache.org/dist/zookeeper/zookeeper-3.4.7/
[2] http://wwwftp.ciril.fr/pub/apache/zookeeper/

tokland commented on 2016-01-14 11:52

There is no zookeeper-3.4.7/zookeeper-3.4.7.tar.gz in the server I get as preferred:

http://www.apache.org/dyn/closer.cgi?asjson=1 -> http://apache.rediris.es/

I had to change the directory name to "current".

benjumanji commented on 2015-12-05 15:06

Updated to latest zk.

galaux commented on 2014-12-18 13:11

Apache must have fixed their certificate issue because the HTTPS URL works now.

Also just FYI the asc signature is available here [0] if you want to add it to the PKGBUILD.

[0] https://www.apache.org/dist/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz.asc

benjumanji commented on 2014-12-08 23:37

Ok, just switched to a non-https mirror. I'll dig into it later, but for the moment I have a working zookeeper@foo on my machine, so LGTM, uploaded.

benjumanji commented on 2014-12-08 23:07

It's the Thawte SSL CA cert that I can't find. It's just weird that it was building a-ok the other night.

benjumanji commented on 2014-12-08 23:01

The thing that's odd though is that I have `thawte_Primary_Root_CA.pem` in my certificate bundle. I just exported it from the website and it is byte for byte identical.

galaux commented on 2014-12-08 22:50

https://www.sslshopper.com/ssl-checker.html#hostname=dist.apache.org

galaux commented on 2014-12-08 22:40

Yes… curl does not like the certificates for a reason. I'm having the same issue while trying to curl sources:

curl https://dist.apache.org/repos/dist/release/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz

As explained in the output [0] it seems curl does not have the right certificate. Don't really know why. Will need to investigate.

In the meantime you could use one of these URLs [1].

[0] http://curl.haxx.se/docs/sslcerts.html
[1] http://www.apache.org/dyn/closer.cgi/zookeeper/

benjumanji commented on 2014-12-08 21:30

Question: can you run this package build? I am having a really weird problem, curl seems to be convinced that the cert for dist.apache.org isn't legit. I have ca-certificates installed and up to date and the CA file curl is using is

/etc/ssl/certs/ca-certificates.crt

I don't get why it's busted, but it's stopping mkaurball from working :s

galaux commented on 2014-12-08 21:11

:)
BTW I have just pushed packages 'kafka' and 'storm' to AUR which depend on 'zookeeper' and use the zookeeper@.service file.

https://aur.archlinux.org/packages/kafka
https://aur.archlinux.org/packages/storm/

benjumanji commented on 2014-12-08 20:46

I obviously did a great job of testing this :D I'll have a look tonight.

galaux commented on 2014-12-08 20:43

Hi! Thanks for this.
So… it seems I already made an error in one of the service file :) (log path is wrong, exceptions in journalctl). So here is the fix: http://pastebin.com/M4AMJb36

benjumanji commented on 2014-12-07 21:20

Sorry, crazy week. I just got through them. Do like! I have uploaded verbatim. Thanks!

galaux commented on 2014-12-07 20:08

Hi benjumanji. Have you had time to get a look at my PKGBUILD suggestions?

galaux commented on 2014-11-14 09:02

@benjumanji: 2 days is responsive enough :)

cmaloney commented on 2014-11-13 22:50

It would be nice if this installed the C libraries / client and the like (Could make it a split package, but that seems overkill since they are fairly small)

Here's how I'm doing it locally:
https://gist.github.com/cmaloney/d0599420d363d98f8e02

benjumanji commented on 2014-11-13 21:39

Hi galaux, I will review your changes and get them in first thing tomorrow. sorry for not being more responsive!

Ben

galaux commented on 2014-11-13 21:31

In latest version, Systemd services directly run 'java' rather than calling shell scripts. Got rid of the patch.

galaux commented on 2014-11-12 17:16

FYI I've submitted `001_zkServer-clean-kill.patch` to upstream: https://issues.apache.org/jira/browse/ZOOKEEPER-2079

galaux commented on 2014-11-11 19:42

Hi! I wanted to add several features to this package and… I ended up completely rewriting it. Here are the source files [0].

Main changes:

- put files in /usr/share
- add /etc files to backup
- run daemon as its own user rather than root
- put jars in /usr/share/java dir
- add systemd 'customizable' service file (enable 3rd party to use it own conf)
- put data files in /var
- remove unnecessary files
- …

Do you think you could include (some of) these in this package?

Thanks.

[0] https://github.com/galaux/aurpkgs/tree/master/zookeeper

benjumanji commented on 2014-07-18 14:10

For people having problems with openjdk, but have $JAVA_HOME correctly set, which you will have if you installed the oracle jdk from AUR just edit the service file to not override $JAVA_HOME.

I am happy to adopt the package, and will get a new package done over the weekend with a fix for oracle users.

benalexau commented on 2014-04-07 23:17

I'm no longer using ZooKeeper, so I don't have time to maintain this package any longer. I'm disowning it so someone else who is using ZooKeeper can take care of it.

@fooblahblah, the java-environment dependency was due to namcap warnings preferring this over java-runtime, although I agree java-runtime is more appropriate. On the loss of configuration files, you could improve the PKGBUILD using the "backup" directive, but this is more complicated that it seems given "backup" won't deal with all the files in the directory (nor even individually-specified files given it's a sym link, at least in my brief testing today). You'll probably need to make more significant changes to PKGBUILD and explicitly handle the configuration files individually rather than the current sym link approach.

benalexau commented on 2014-04-07 23:16

I'm no longer using ZooKeeper, so I don't have time to maintain this package any longer. I'm disowning it so someone else who is using ZooKeeper can take care of it.

@fooblahblah, the java-environment dependency was due to namcap warnings preferring this over java-runtime, although I agree java-runtime is more appropriate. On the loss of configuration files, you could improve the PKGBUILD using the "backup" directive, but this is more complicated that it seems given "backup" won't deal with all the files in the directory (nor even individually-specified files given it's a a sym link, at least in my brief testing today). You'll probably need to make more significant changes to PKGBUILD and explicitly handle the configuration files individually rather than the current sym link approach.

fooblahblah commented on 2014-04-04 14:31

The latest rev of this package (3.4.6) blew out my existing zookeeper config (/etc/zookeeper/zoo.cfg) and also expects openjdk (maybe use java-runtime?). Can you look into these issues?

Thanks!

benalexau commented on 2014-04-02 05:22

@edofic, thanks for reporting the systemd error. I have fixed this and confirmed a fresh install of 3.4.6-3 works:

sudo packer --noedit --noconfirm -S zookeeper
sudo systemctl daemon-reload
sudo systemctl enable zookeeper.service
sudo systemctl start zookeeper.service
sudo systemctl status zookeeper.service
Active: active (running) since Wed 2014-04-02 16:20:05 EST; 6s ago

edofic commented on 2014-04-01 09:39

Fails to start through systemd. Running `zkServer start-foreground` manually produces this

JMX enabled by default
/usr/bin/zkServer: line 53: /usr/bin/zkEnv.sh: No such file or directory
/usr/bin/zkServer: line 74: cygpath: command not found
Using config:
grep: : No such file or directory
mkdir: cannot create directory ‘’: No such file or directory
mkdir: cannot create directory ‘’: No such file or directory
/usr/bin/zkServer: line 131: exec: : not found

benalexau commented on 2014-02-23 04:16

@abadu, http://www.eng.lsu.edu/mirrors/apache/zookeeper/zookeeper-3.4.5/zookeeper-3.4.5.tar.gz downloads for me.

abadu commented on 2014-02-21 09:50

404 while downloading. This mirror seems down.

benalexau commented on 2013-10-10 00:54

I've adopted this package and added systemd support from 3.4.5-2.

Note the bug mentioned below with zkCli.sh is due to upstream issue https://issues.apache.org/jira/browse/ZOOKEEPER-1737. Just use /opt/zookeeper-*/bin/zkCli.sh to start it in the meantime. The revised PKGBUILD adds a reminder message during packaging about this bug.

benalexau commented on 2013-10-10 00:45

I've adopted this package and added systemd support from 3.4.5-2.

benalexau commented on 2013-10-08 19:08

Please add zookeeper.service for systemd use. I have provided a zookeeper.service file at http://pastebin.com/raw.php?i=SeHf2cxz which you are welcome to use or improve. The following commands install zookeeper and successfully create the service:

sudo packer --noconfirm --noedit -S zookeeper
sudo wget -O /usr/lib/systemd/system/zookeeper.service http://pastebin.com/raw.php?i=SeHf2cxz
sudo systemctl daemon-reload
sudo systemctl start zookeeper.service
sudo systemctl enable zookeeper.service

sudo systemctl status zookeeper.service
sudo journalctl -u zookeeper -n 100

benalexau commented on 2013-10-08 19:07

Please add zookeeper.service for systemd use. I have provided a zookeeper.service file at http://pastebin.com/raw.php?i=SeHf2cxz which you are welcome to use or improve. The following commands install zookeeper and successfully create the package:

sudo packer --noconfirm --noedit -S zookeeper
sudo wget -O /usr/lib/systemd/system/zookeeper.service http://pastebin.com/raw.php?i=SeHf2cxz
sudo systemctl daemon-reload
sudo systemctl start zookeeper.service
sudo systemctl enable zookeeper.service

sudo systemctl status zookeeper.service
sudo journalctl -u zookeeper -n 100

nickread commented on 2013-07-29 07:07

I found that you always needed to run ./zkServer or ./zkCli from within /opt/zookeeper-3.4.5/bin, and I've never had enough time to look into exactly why.

malcolmsparks commented on 2013-07-24 11:34

Getting the following:

$ zkCli
/usr/bin/zkCli: line 36: /usr/bin/zkEnv.sh: No such file or directory

User commented on 2012-12-01 12:29

Updated to 3.4.5

User commented on 2012-10-25 20:26

updated

srl commented on 2012-10-24 13:02

Abandoning.

User commented on 2012-10-24 09:18

3.4.4 is now available, http://www.eu.apache.org/dist/zookeeper/stable/

srl commented on 2012-09-18 14:35

Updated; thanks.

unfinitydesign commented on 2012-09-18 14:30

3.3.6 is now available, http://mirrors.comunicare-europe.co.uk/apache/zookeeper/stable/zookeeper-3.3.6.tar.gz