Subject: CVS commit: pkgsrc/devel/zookeeper
From: Filip Hajny
Date: 2016-03-04 14:40:35
Message id: 20160304134035.15DA5FBB7@cvs.NetBSD.org

Log Message:
Update zookeeper to 3.4.8.

Changes in 3.4.8

Bug
- std::length_error on update children
- PurgeTxnLog does not correctly purge when snapshots and logs
  are at different locations
- Several four-letter words are undocumented.
- ZK Server startup fails if there are spaces in the JAVA_HOME path
- TGT refresh time logic is wrong
- assert in setup_random
- JMX is disabled even if JMXDISABLE is false
- Deadlock shutting down zookeeper
- Update commons collections version used by tests/releaseaudit

Changes in 3.4.7

Sub-task
- ClientBase#createClient is failing frequently
- Server not coming back up in QuorumZxidSyncTest
- QuorumPeer is not shutdown in few cases
- WatcherTest#testWatchAutoResetWithPending is failing
- ZKClients are hitting KeeperException$ConnectionLossException due
  to wrong usage pattern
- testTruncationNullLog fails on windows
- Port async multi to 3.4 branch

Bug
- log all exceptions not caught by ZK threads
- large numbers of watches can cause session re-establishment to fail
- The Barrier sample code should create a EPHEMERAL znode instead
  of EPHEMERAL_SEQUENTIAL znode
- C client bug in zookeeper_init (if bad hostname is given)
- Net-ZooKeeper: Net::ZooKeeper consumes 100% cpu on wait
- C client lib doesn't build on Solaris
- getACL should only call DataTree.copyStat when passed in stat is
  not null
- adding .gitattributes to prevent CRLF and LF mismatches for source
  and text files
- PurgeTxnLog may delete data logs during roll
- Add description for pzxid in programmer's guide.
- fix windows build
- zkCli.sh can't issue a CREATE command containing spaces in the data
- Inconsistent behavior in autocreation of dataDir and dataLogDir
- ZkCli.cmd commands fail with "'java' is not recognized as an internal
  or external command"
- update all notice files, copyright, etc... with the new year - 2014
- ZK Shell/Cli not processing commands
- NullPointerException in truncate
- JDK8] Sort children for comparison in AsyncOps tests
- zkpython: invalid data in GetData for empty node
- REST contrib module does not include all required files when packaged
- Invalid manifest files due to bogus revision property value
- Apache Zookeeper logs cleartext admin passwords
- Unit tests should only use build/test/data for data
- zkServer.sh fails to read dataDir (and others) from zoo.cfg
  on Solaris 10 (grep issue, manifests as FAILED TO WRITE PID).
- ReconfigRecoveryTest.testNextConfigUnreachable is failing
- quot;src/contrib/zooinspector/NOTICE.txt" isn't complying
  to ".gitattributes" in branch-3.4
- deb - zkCli.sh, zkServer.sh and zkEnv.sh regression caused
  by ZOOKEEPER-1663
- recipes jar not included in the distribution package
- Startup order in ServerCnxnFactory-ies is wrong
- zookeeper follower fails to start after a restart immediately
  following a new epoch
- Jute compareBytes incorrect comparison index
- Yosemite build failure: htonll conflict
- Unable to delete a node when the node has no children
- Zookeeper 3.4.x and 3.5.0-alpha is not OSGi compliant
- Trace bug in NettyServerCnxnFactory
- Prevent resource leak in various classes
- Memory leak on zookeeper_close
- C client builds with incorrect error codes in VisualStudio 2010+
- jute generated allocate_* functions are not externally visible
- Allow Zookeeper version string to have underscore '_'
- JMX ObjectName is incorrect for observers
- BinaryInputArchive readString should check length before
  allocating memory
- JUnit4ZKTestRunner logs test failure for all exceptions even
  if the test method is annotated with an expected exception.
- QuorumCnxManager#receiveConnection may crash with random input
- Network issues can cause cluster to hang due to near-deadlock
- PurgeTxnLog does not correctly purge when snapshots and logs are
  at different locations
- Empty path in Set crashes server and prevents restart
- Four letter command hangs when network is slow
- stmk four-letter word fails execution at server while reading
  trace mask argument.
- License update
- JMX State from LocalPeerBean incorrect
- SimpleSysTest test cases fails
- Zookeeper is not using specified JMX port in zkEnv.sh
- Zookeeper doc creation fails on windows
- QuorumPeer loadDataBase() error message is incorrect
- compilation broken for 3.4

Improvement
- Cut down the running time of ZKDatabase corruption.
- Upload Zookeeper package to Maven Central
- Re-try DNS hostname -> IP resolution if node connection fails
- mismatched CR/LF endings in text files
- AsyncCallback.*Callback don't have any Javadoc
- Improve Thread handling
- Enable JMX remote monitoring
- Server to log underlying cause of SASL connection problems
- Improve exit log messsage of EventThread and SendThread by adding
  SessionId
- Typo in Watcher.java
- Let DataNode.getChildren() return an unmodifiable view of its
  children set
- Log type of unexpected quorum packet in learner handler loop
- Make the three-node minimum more explicit in documentation
  and on website
- Change client connect zk service timeout log level from Info
  to Warn level

Files:
RevisionActionfile
1.3modifypkgsrc/devel/zookeeper/Makefile
1.2modifypkgsrc/devel/zookeeper/Makefile.common
1.2modifypkgsrc/devel/zookeeper/PLIST
1.4modifypkgsrc/devel/zookeeper/distinfo
1.1removepkgsrc/devel/zookeeper/patches/patch-bin_zkServer.sh
1.1removepkgsrc/devel/zookeeper/patches/patch-include_recordio.h
1.1removepkgsrc/devel/zookeeper/patches/patch-src_recordio.c
1.1removepkgsrc/devel/zookeeper/patches/patch-src_zk__log.c