This is an automated email from the ASF dual-hosted git repository.

ivank pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 5531360  Fixups for broken versions in all versions images
5531360 is described below

commit 55313600735f0ea562fdab5d59671a823f5ce366
Author: Ivan Kelly <[email protected]>
AuthorDate: Fri Jan 19 20:14:10 2018 +0100

    Fixups for broken versions in all versions images
    
    Various versions of bookkeeper have shipped broken by default. This
    patch fixes them up in the all versions image, so that they can be
    tested.
    
    Master Issue: #903
    
    Author: Ivan Kelly <[email protected]>
    
    Reviewers: Enrico Olivelli <[email protected]>, Sijie Guo 
<[email protected]>
    
    This closes #1021 from ivankelly/broken-versions
---
 .../docker-all-versions-image/scripts/update-conf-and-boot.sh  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tests/docker-all-versions-image/scripts/update-conf-and-boot.sh 
b/tests/docker-all-versions-image/scripts/update-conf-and-boot.sh
index 4248862..6cddae3 100644
--- a/tests/docker-all-versions-image/scripts/update-conf-and-boot.sh
+++ b/tests/docker-all-versions-image/scripts/update-conf-and-boot.sh
@@ -24,4 +24,14 @@ sed -i 
"s|journalDirectory=.*|journalDirectory=$BK_JOURNALDIR|" /opt/bookkeeper/
 sed -i "s|ledgerDirectories=.*|ledgerDirectories=$BK_LEDGERDIR|" 
/opt/bookkeeper/*/conf/bk_server.conf
 sed -i "s|zkServers=.*|zkServers=$BK_ZKCONNECTSTRING|" 
/opt/bookkeeper/*/conf/bk_server.conf
 
+# 4.3.1 & 4.3.2 shipped with a broken confs
+sed -i "s|\(# \)\?logSizeLimit=.*|logSizeLimit=1073741824|" 
/opt/bookkeeper/4.3.1/conf/bk_server.conf
+sed -i "s|\(# \)\?logSizeLimit=.*|logSizeLimit=1073741824|" 
/opt/bookkeeper/4.3.2/conf/bk_server.conf
+
+# 4.5.1 shipped with a broken conf
+sed -i "s|\(# \)\?statsProviderClass=.*|# disabled stats |" 
/opt/bookkeeper/4.5.1/conf/bk_server.conf
+
+# 4.6.0 breaks supervisor
+echo "stopasgroup=true" >> /etc/supervisord/conf.d/bookkeeper-4.6.0.conf
+
 exec /usr/bin/supervisord -c /etc/supervisord.conf

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to