Subject: CVS commit: wip/zookeeper-server
From: Filip Hajny
Date: 2014-05-14 11:51:07
Message id: E1WkVqO-0001sn-7q@sfs-ml-1.v29.ch3.sourceforge.com

Log Message:
Update zookeeper to 3.4.6. Fix Bash shebang not replaced properly.

Changes since ZooKeeper 3.4.5

Sub-task
ZOOKEEPER-1414 QuorumPeerMainTest.testQuorum, testBadPackets are failing
 intermittently
ZOOKEEPER-1459 Standalone ZooKeeperServer is not closing the transaction log
 files on shutdown
ZOOKEEPER-1558 Leader should not snapshot uncommitted state
ZOOKEEPER-1808 Add version to FLE notifications for 3.4 branch
ZOOKEEPER-1817 Fix don't care for b3.4
ZOOKEEPER-1834 Catch IOException in FileTxnLog
ZOOKEEPER-1837 Fix JMXEnv checks (potential race conditions)
ZOOKEEPER-1838 ZooKeeper shutdown hangs indefinitely at
 NioServerSocketChannelFactory.releaseExternalResources
ZOOKEEPER-1841 problem in QuorumTest
ZOOKEEPER-1849 Need to properly tear down tests in various cases
ZOOKEEPER-1852 ServerCnxnFactory instance is not properly cleanedup
ZOOKEEPER-1854 ClientBase ZooKeeper server clean-up
ZOOKEEPER-1857 PrepRequestProcessotTest doesn't shutdown ZooKeeper server
ZOOKEEPER-1858 JMX checks - potential race conditions while stopping and
 starting server
ZOOKEEPER-1867 Bug in ZkDatabaseCorruptionTest
ZOOKEEPER-1873 Unnecessarily InstanceNotFoundException is coming when
 unregister failed jmxbeans

Bug
ZOOKEEPER-87 Follower does not shut itself down if its too far behind
 the leader.
ZOOKEEPER-732 Improper translation of error into Python exception
ZOOKEEPER-753 update log4j dependency from 1.2.15 to 1.2.16 in branch 3.4
ZOOKEEPER-877 zkpython does not work with python3.1
ZOOKEEPER-1057 zookeeper c-client, connection to offline server fails
 to successfully fallback to second zk host
ZOOKEEPER-1179 NettyServerCnxn does not properly close socket on 4 letter
 word requests
ZOOKEEPER-1238 when the linger time was changed for NIO the patch missed Netty
ZOOKEEPER-1334 Zookeeper 3.4.x is not OSGi compliant - MANIFEST.MF is flawed
ZOOKEEPER-1379 'printwatches, redo, history and connect '. client commands
 always print usage. This is not necessary
ZOOKEEPER-1382 Zookeeper server holds onto dead/expired session ids in
 the watch data structures
ZOOKEEPER-1387 Wrong epoch file created
ZOOKEEPER-1388 Client side 'PathValidation' is missing for
 the multi-transaction api.
ZOOKEEPER-1448 Node+Quota creation in transaction log can crash leader
 startup
ZOOKEEPER-1462 Read-only server does not initialize database properly
ZOOKEEPER-1474 Cannot build Zookeeper with IBM Java: use of
 Sun MXBean classes
ZOOKEEPER-1478 Small bug in QuorumTest.testFollowersStartAfterLeader( )
ZOOKEEPER-1495 ZK client hangs when using a function not available
 on the server.
ZOOKEEPER-1513 "Unreasonable length" exception while starting a server.
ZOOKEEPER-1535 ZK Shell/Cli re-executes last command on exit
ZOOKEEPER-1548 Cluster fails election loop in new and interesting way
ZOOKEEPER-1551 Observers ignore txns that come after snapshot and UPTODATE
ZOOKEEPER-1553 Findbugs configuration is missing some dependencies
ZOOKEEPER-1554 Can't use zookeeper client without SASL
ZOOKEEPER-1557 jenkins jdk7 test failure in testBadSaslAuthNotifiesWatch
ZOOKEEPER-1562 Memory leaks in zoo_multi API
ZOOKEEPER-1573 Unable to load database due to missing parent node
ZOOKEEPER-1578 org.apache.zookeeper.server.quorum.Zab1_0Test failed due
 to hard code with 33556 port
ZOOKEEPER-1581 change copyright in notice to 2012
ZOOKEEPER-1596 Zab1_0Test should ensure that the file is closed
ZOOKEEPER-1597 Windows build failing
ZOOKEEPER-1599 3.3 server cannot join 3.4 quorum
ZOOKEEPER-1603 StaticHostProviderTest testUpdateClientMigrateOrNot hangs
ZOOKEEPER-1606 intermittent failures in ZkDatabaseCorruptionTest on jenkins
ZOOKEEPER-1610 Some classes are using == or != to compare Long/String objects
 instead of .equals()
ZOOKEEPER-1613 The documentation still points to 2008 in the copyright notice
ZOOKEEPER-1622 session ids will be negative in the year 2022
ZOOKEEPER-1624 PrepRequestProcessor abort multi-operation incorrectly
ZOOKEEPER-1629 testTransactionLogCorruption occasionally fails
ZOOKEEPER-1632 fix memory leaks in cli_st
ZOOKEEPER-1633 Introduce a protocol version to connection initiation message
ZOOKEEPER-1642 Leader loading database twice
ZOOKEEPER-1645 ZooKeeper OSGi package imports not complete
ZOOKEEPER-1646 mt c client tests fail on Ubuntu Raring
ZOOKEEPER-1647 OSGi package import/export changes not applied to bin-jar
ZOOKEEPER-1648 Fix WatcherTest in JDK7
ZOOKEEPER-1653 zookeeper fails to start because of inconsistent epoch
ZOOKEEPER-1657 Increased CPU usage by unnecessary SASL checks
ZOOKEEPER-1663 scripts don't work when path contains spaces
ZOOKEEPER-1667 Watch event isn't handled correctly when a client reestablish
 to a server
ZOOKEEPER-1696 Fail to run zookeeper client on Weblogic application server
ZOOKEEPER-1697 large snapshots can cause continuous quorum failure
ZOOKEEPER-1702 ZooKeeper client may write operation packets before receiving
 successful response to connection request, can cause TCP RST
ZOOKEEPER-1706 Typo in Double Barriers example
ZOOKEEPER-1711 ZooKeeper server binds to all ip addresses for leader election
 and broadcast
ZOOKEEPER-1713 wrong time calculation in zkfuse.cc
ZOOKEEPER-1714 perl client segfaults if ZOO_READ_ACL_UNSAFE constant is used
ZOOKEEPER-1719 zkCli.sh, zkServer.sh and zkEnv.sh regression caused
 by ZOOKEEPER-1663
ZOOKEEPER-1731 Unsynchronized access to ServerCnxnFactory.connectionBeans
 results in deadlock
ZOOKEEPER-1732 ZooKeeper server unable to join established ensemble
ZOOKEEPER-1733 FLETest#testLE is flaky on windows boxes
ZOOKEEPER-1744 clientPortAddress breaks "zkServer.sh status"
ZOOKEEPER-1750 Race condition producing NPE in NIOServerCnxn.toString
ZOOKEEPER-1751 ClientCnxn#run could miss the second ping or connection
 get dropped before a ping
ZOOKEEPER-1753 ClientCnxn is not properly releasing the resources, which are
 used to ping RwServer
ZOOKEEPER-1754 Read-only server allows to create znode
ZOOKEEPER-1755 Concurrent operations of four letter 'dump' ephemeral command
 and killSession causing NPE
ZOOKEEPER-1756 zookeeper_interest() in C client can return a timeval of 0
ZOOKEEPER-1764 ZooKeeper attempts at SASL eventhough it shouldn't
ZOOKEEPER-1765 Update code conventions link on "How to contribute" page
ZOOKEEPER-1770 NullPointerException in SnapshotFormatter
ZOOKEEPER-1774 QuorumPeerMainTest fails consistently with "complains
 about host" assertion failure
ZOOKEEPER-1775 Ephemeral nodes not present in one of the members
 of the ensemble
ZOOKEEPER-1776 Ephemeral nodes not present in one of the members
 of the ensemble
ZOOKEEPER-1781 ZooKeeper Server fails if snapCount is set to 1
ZOOKEEPER-1786 ZooKeeper data model documentation is incorrect
ZOOKEEPER-1790 Deal with special ObserverId
 in QuorumCnxManager.receiveConnection
ZOOKEEPER-1798 Fix race condition in testNormalObserverRun
ZOOKEEPER-1799 SaslAuthFailDesignatedClientTest.testAuth fails frequently
 on SUSE
ZOOKEEPER-1805 "Don't care" value in ZooKeeper election breaks
 rolling upgrades
ZOOKEEPER-1811 The ZooKeeperSaslClient service name principal is hardcoded
 to "zookeeper"
ZOOKEEPER-1812 ZooInspector reconnection always fails if first
 connection fails
ZOOKEEPER-1821 very ugly warning when compiling load_gen.c
ZOOKEEPER-1839 Deadlock in NettyServerCnxn
ZOOKEEPER-1844 TruncateTest fails on windows
ZOOKEEPER-1845 FLETest.testLE fails on windows
ZOOKEEPER-1850 cppunit test testNonexistingHost in TestZookeeperInit is
 failing on Unbuntu

Improvement
ZOOKEEPER-1019 zkfuse doesn't list dependency on boost in README
ZOOKEEPER-1096 Leader communication should listen on specified IP,
 not wildcard address
ZOOKEEPER-1324 Remove Duplicate NEWLEADER packets from the Leader
 to the Follower.
ZOOKEEPER-1552 Enable sync request processor in Observer
ZOOKEEPER-1564 Allow JUnit test build with IBM Java
ZOOKEEPER-1583 Document maxClientCnxns in conf/zoo_sample.cfg
ZOOKEEPER-1584 Adding mvn-install target for deploying the zookeeper
 artifacts to .m2 repository.
ZOOKEEPER-1598 Ability to support more digits in the version string
ZOOKEEPER-1615 minor typos in ZooKeeper Programmer's Guide web page
ZOOKEEPER-1627 Add org.apache.zookeeper.common to exported packages
 in OSGi MANIFEST headers
ZOOKEEPER-1666 Avoid Reverse DNS lookup if the hostname in connection string
 is literal IP address.
ZOOKEEPER-1715 Upgrade netty version
ZOOKEEPER-1758 Add documentation for zookeeper.observer.syncEnabled flag
ZOOKEEPER-1771 ZooInspector authentication

Task
ZOOKEEPER-1430 add maven deploy support to the build	

Files:
RevisionActionfile
1.3modifywip/zookeeper-server/Makefile
1.5modifywip/zookeeper-server/Makefile.common
1.4modifywip/zookeeper-server/distinfo
1.2modifywip/zookeeper-server/patches/patch-bin_zkEnv.sh
1.2modifywip/zookeeper-server/patches/patch-bin_zkServer.sh
1.2modifywip/zookeeper-server/patches/patch-conf__zoo_sample.cfg
1.2modifywip/zookeeper-server/patches/patch-include_recordio.h
1.2modifywip/zookeeper-server/patches/patch-src__zk_log.c
1.2modifywip/zookeeper-server/patches/patch-src_packages_templates_conf_zookeeper-env.sh
1.2modifywip/zookeeper-server/patches/patch-src_recordio.c