<commit_before>#!/bin/bash -e

PROPERTIES=$1
PREFIX=$2
MYID=$3
MAXID=$4

echo $MYID >/tmp/zookeeper/myid
for ((i=1; i<=$MAXID; i++)); do
  if [ $i -eq $MYID ]; then
    echo server.$i=0.0.0.0:2888:3888
  else
    echo server.$i=$PREFIX-$i:2888:3888
  fi
done >>$PROPERTIES
cat >>$PROPERTIES <<EOF
tickTime=2000<commit_msg>use quorumListenOnAllIPs<commit_after>#!/bin/bash -e

PROPERTIES=$1
PREFIX=$2
MYID=$3
MAXID=$4

echo $MYID >/tmp/zookeeper/myid
for ((i=1; i<=$MAXID; i++)); do
  echo server.$i=$PREFIX-$i:2888:3888
done >>$PROPERTIES
cat >>$PROPERTIES <<EOF
quorumListenOnAllIPs=true
tickTime=2000
{'fraction_non_alphanumeric': 0.19435215946843853, 'fraction_numerical': 0.07641196013289037, 'mean_word_length': 5.216494845360825, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4804754', 'n_tokens_mistral': 291, 'n_tokens_neox': 268, 'n_words': 54}