New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zookeeper: 3.4.12 -> 3.6.2 & assorted changes #104889
Conversation
Result of 1 package blacklisted:
6 packages built:
|
Result of 2 packages failed to build:
3 packages built:
|
67b116c
to
12f405c
Compare
Hi @SuperSandro2000, Thank you for the review.
Hmm… I'm guessing I downed a Chesterton fence too many when I removed the |
@GrahamcOfBorg build perl530Packages.NetZooKeeper |
I'm (also) getting test failures on
Also, ofBorg builds fail on a test on
Upstream for perlPackages.NetZooKeeper has some recent patches in master for zookeeper 3.6, this might be an option. |
12f405c
to
3f32b70
Compare
Hi @stigtsp, Thank you for the review.
Yeah. The remaining issues are a priori not Given that the test suite is run in an environment where no ZooKeeper server is available, most tests are in fact being skipped. The ZooKeeper library being highly asynchronous, I suspect some of the remaining paths suffer from races. (The failing I am consequently considering completely disabling the test suite.
Indeed. I now realize that the situation with the CPAN Perl binding is not ideal, having diverged from ZooKeeper upstream. I have added a note and asked about upcoming releases; perhaps Mark has some suggestions. In the meantime, I have pushed a new iteration with fetches the current tip of his Cheers, -D |
Hey @ztzg !
|
Hi @stigtsp, Excellent; I'll respin this PR with your suggestions ASAP. Thanks! Cheers, -D |
3f32b70
to
c42195a
Compare
Done. (Well, removed
Okay, I left that one in, labeled with version "0.42pre."
Done. (I have also added a I have tried using |
@GrahamcOfBorg test zookeeper |
@GrahamcOfBorg build perPackages.NetZooKeeper perldevelPackages.NetZooKeeper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM on perlPackages.NetZooKeeper
and nixos/tests/zookeeper.nix
@stigtsp sorry, not familiar with this program at all. Can't really review it properly. 😞 |
Result of 1 package blacklisted:
6 packages built:
|
Likewise, however changes look legit and tests pass. I'm inclined to merge unless there are objections. |
@stigtsp: I don't have any outstanding items, so +1 from me. (Of course, I may be a bit biased :) But I provide ZooKeeper support professionally, am a committer on the Apache project, and am planning to stick around for a while.) |
A big jump, but the structure hasn't changed much. This recipe is still based on a binary release provided by upstream. (It might be interesting to start doing our own builds at some point, to split client from server, and/or to create packages for removed "contribs" such as 'zooInspector'. Upstream intends to further slim down its release tarballs as most deployments only need specific assets.)
This patch: * Removes an invalid/useless classpath element; * Removes an unnecessary environment variable; * Creates the required '/version-2' data subdirectory; * Redirects audit logging to the "console" (systemd) by default.
c42195a
to
a429bad
Compare
@GrahamcOfBorg build perl530Packages.NetZooKeeper perl532Packages.NetZooKeeper perldevelPackages.NetZooKeeper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you for the contributions, and welcome to the NixOS project!
- Source are legit, and other changes to derivations look ok
- Did some basic
zkCli.sh
tests of the zookeeper nixos module in a nixos-shell perlPackages.NetZooKeeper
is OK
Thanks! |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
(actually:nixpkgs-review rev 67b116cd3b6
)./result/bin/
)nix path-info -S
before and after) (minimal; smaller for main package.)