[Git][java-team/zookeeper][master] 2 commits: Providing an up-to-date default configuration file

Pierre Gruet (@pgt) gitlab at salsa.debian.org
Sat Jul 2 19:05:34 BST 2022



Pierre Gruet pushed to branch master at Debian Java Maintainers / zookeeper


Commits:
d12fdfc8 by Pierre Gruet at 2022-07-02T15:20:25+02:00
Providing an up-to-date default configuration file

- - - - -
522c05f9 by Pierre Gruet at 2022-07-02T20:05:20+02:00
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- − debian/conf_example/configuration.xsl
- − debian/conf_example/zoo.cfg
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+zookeeper (3.8.0-5) unstable; urgency=medium
+
+  * Team upload
+  * Installing an up-to-date configuration file example in zookeeper
+
+ -- Pierre Gruet <pgt at debian.org>  Sat, 02 Jul 2022 15:28:15 +0200
+
 zookeeper (3.8.0-4) unstable; urgency=medium
 
   * Team upload


=====================================
debian/conf_example/configuration.xsl deleted
=====================================
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output method="html"/>
-<xsl:template match="configuration">
-<html>
-<body>
-<table border="1">
-<tr>
- <td>name</td>
- <td>value</td>
- <td>description</td>
-</tr>
-<xsl:for-each select="property">
-<tr>
-  <td><a name="{name}"><xsl:value-of select="name"/></a></td>
-  <td><xsl:value-of select="value"/></td>
-  <td><xsl:value-of select="description"/></td>
-</tr>
-</xsl:for-each>
-</table>
-</body>
-</html>
-</xsl:template>
-</xsl:stylesheet>


=====================================
debian/conf_example/zoo.cfg deleted
=====================================
@@ -1,52 +0,0 @@
-# http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html
-
-# The number of milliseconds of each tick
-tickTime=2000
-# The number of ticks that the initial 
-# synchronization phase can take
-initLimit=10
-# The number of ticks that can pass between 
-# sending a request and getting an acknowledgement
-syncLimit=5
-# the directory where the snapshot is stored.
-dataDir=/var/lib/zookeeper
-# Place the dataLogDir to a separate physical disc for better performance
-# dataLogDir=/disk2/zookeeper
-
-# the port at which the clients will connect
-clientPort=2181
-
-# specify all zookeeper servers
-# The fist port is used by followers to connect to the leader
-# The second one is used for leader election
-#server.1=zookeeper1:2888:3888
-#server.2=zookeeper2:2888:3888
-#server.3=zookeeper3:2888:3888
-
-
-# To avoid seeks ZooKeeper allocates space in the transaction log file in
-# blocks of preAllocSize kilobytes. The default block size is 64M. One reason
-# for changing the size of the blocks is to reduce the block size if snapshots
-# are taken more often. (Also, see snapCount).
-#preAllocSize=65536
-
-# Clients can submit requests faster than ZooKeeper can process them,
-# especially if there are a lot of clients. To prevent ZooKeeper from running
-# out of memory due to queued requests, ZooKeeper will throttle clients so that
-# there is no more than globalOutstandingLimit outstanding requests in the
-# system. The default limit is 1,000.ZooKeeper logs transactions to a
-# transaction log. After snapCount transactions are written to a log file a
-# snapshot is started and a new transaction log file is started. The default
-# snapCount is 10,000.
-#snapCount=1000
-
-# If this option is defined, requests will be will logged to a trace file named
-# traceFile.year.month.day. 
-#traceFile=
-
-# Leader accepts client connections. Default value is "yes". The leader machine
-# coordinates updates. For higher update throughput at thes slight expense of
-# read throughput the leader can be configured to not accept clients and focus
-# on coordination.
-#leaderServes=yes
-


=====================================
debian/rules
=====================================
@@ -39,6 +39,12 @@ override_dh_install-arch:
 	
 	dh_install -a
 
+override_dh_install-indep:
+	dh_install -i
+	# Also installing the configuration.xsl and zoo.cfg which are in conf/.
+	cp conf/configuration.xsl debian/zookeeper/etc/zookeeper/conf_example/
+	cp conf/zoo_sample.cfg debian/zookeeper/etc/zookeeper/conf_example/zoo.cfg
+
 # Empty override for the -arch part, as we currently run no tests othen than
 # the Java ones. See the commented block below for some perspective.
 override_dh_auto_test-arch:



View it on GitLab: https://salsa.debian.org/java-team/zookeeper/-/compare/b1b50a7b96f3ddb6bed6a40a969d7f99ca5e625f...522c05f942a2161b5bb5cfc329e9d605277d498d

-- 
View it on GitLab: https://salsa.debian.org/java-team/zookeeper/-/compare/b1b50a7b96f3ddb6bed6a40a969d7f99ca5e625f...522c05f942a2161b5bb5cfc329e9d605277d498d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20220702/34d42845/attachment.htm>


More information about the pkg-java-commits mailing list