Vincil Bishop
03/19/2023, 1:41 PMRobert Moucha
03/19/2023, 1:43 PMRobert Moucha
03/19/2023, 1:44 PMVincil Bishop
03/19/2023, 1:45 PMVincil Bishop
03/19/2023, 1:45 PMRobert Moucha
03/19/2023, 1:46 PMVincil Bishop
03/19/2023, 1:46 PMVincil Bishop
03/19/2023, 1:46 PMRobert Moucha
03/19/2023, 1:47 PMreplicaCount: 1
so save resources on your host.Vincil Bishop
03/19/2023, 1:47 PMRobert Moucha
03/19/2023, 1:47 PMVincil Bishop
03/19/2023, 1:47 PMVincil Bishop
03/19/2023, 1:48 PMRobert Moucha
03/19/2023, 1:48 PMVincil Bishop
03/19/2023, 1:48 PMRobert Moucha
03/19/2023, 1:49 PMVincil Bishop
03/19/2023, 1:50 PMVincil Bishop
03/19/2023, 1:51 PMRobert Moucha
03/19/2023, 1:51 PMVincil Bishop
03/19/2023, 1:51 PMVincil Bishop
03/19/2023, 1:52 PMRobert Moucha
03/19/2023, 1:53 PMRobert Moucha
03/19/2023, 1:57 PMVincil Bishop
03/19/2023, 2:06 PMVincil Bishop
03/19/2023, 2:06 PMVincil Bishop
03/19/2023, 4:05 PM2023-03-19T16:02:00,455+0000 [QuorumConnectionThread-[myid=1]-1] WARN org.apache.zookeeper.server.quorum.QuorumCnxManager - Cannot open channel to 2 at election address pulsar-zookeeper-1.pulsar-zookeeper.pulsar.svc.cluster.local:3888
java.net.UnknownHostException: pulsar-zookeeper-1.pulsar-zookeeper.pulsar.svc.cluster.local
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:229) ~[?:?]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]
at java.net.Socket.connect(Socket.java:609) ~[?:?]
at org.apache.zookeeper.server.quorum.QuorumCnxManager.initiateConnection(QuorumCnxManager.java:383) [org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
at org.apache.zookeeper.server.quorum.QuorumCnxManager$QuorumConnectionReqThread.run(QuorumCnxManager.java:457) [org.apache.zookeeper-zookeeper-3.6.3.jar:3.6.3]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Vincil Bishop
03/19/2023, 4:05 PMVincil Bishop
03/19/2023, 4:21 PMaffinity:
anti_affinity: false
in Pulsar is getting me a little farther... not failing... or will fail with different error LOLRobert Moucha
03/19/2023, 5:12 PMVincil Bishop
03/19/2023, 5:49 PMContainersNotInitialized
containers with incomplete status: [wait-bookkeeper-ready]
Vincil Bishop
03/19/2023, 5:50 PMRobert Moucha
03/19/2023, 6:52 PM--set initialize=true
to be passed during helm install (or add initialize: true
into your customized-values-pulsar.yaml file.
Newer versions do not need this setting as the chart automatically recognizes whether it is being installed or upgraded. This setting will add two extra k8s Jobs that will initialize bookkeeper and pulsar clusters.Robert Moucha
03/19/2023, 6:54 PM2.9.4
Robert Moucha
03/19/2023, 6:56 PMVincil Bishop
03/19/2023, 10:00 PMVincil Bishop
03/19/2023, 10:45 PMbin/apply-config-from-env.py conf/bookkeeper.conf; until bin/bookkeeper shell whatisinstanceid; do
echo "bookkeeper cluster is not initialized yet. backoff for 3 seconds ...";
sleep 3;
done; echo "bookkeeper cluster is already initialized"; bookieServiceNumber="$(nslookup -timeout=10 pulsar-bookie | grep Name | wc -l)"; until [ ${bookieServiceNumber} -ge 1 ]; do
echo "bookkeeper cluster pulsar isn't ready yet ... check in 10 seconds ...";
sleep 10;
bookieServiceNumber="$(nslookup -timeout=10 pulsar-bookie | grep Name | wc -l)";
done; echo "bookkeeper cluster is ready";
Vincil Bishop
03/19/2023, 11:02 PMbroker.configData.managedLedgerDefaultEnsembleSize: "1"
seemed to have gotten everything working!Vincil Bishop
03/19/2023, 11:03 PMRobert Moucha
03/20/2023, 8:31 AMVincil Bishop
03/20/2023, 2:11 PMVincil Bishop
03/20/2023, 2:11 PMRobert Moucha
03/20/2023, 2:33 PMVincil Bishop
03/20/2023, 2:44 PMVincil Bishop
03/23/2023, 12:35 PMRobert Moucha
03/23/2023, 12:40 PMVincil Bishop
03/23/2023, 12:40 PMRobert Moucha
03/23/2023, 12:41 PMVincil Bishop
03/23/2023, 12:41 PMVincil Bishop
03/23/2023, 12:42 PMVincil Bishop
03/23/2023, 12:42 PMRobert Moucha
03/23/2023, 12:42 PMVincil Bishop
03/23/2023, 12:42 PMVincil Bishop
03/23/2023, 12:43 PMRobert Moucha
03/23/2023, 12:43 PMVincil Bishop
03/23/2023, 12:43 PMVincil Bishop
03/23/2023, 12:44 PMAmazon EC2 T3 instances are the next generation burstable general-purpose instance type
Vincil Bishop
03/23/2023, 12:44 PMVincil Bishop
03/23/2023, 12:44 PMRobert Moucha
03/23/2023, 12:48 PMVincil Bishop
03/23/2023, 12:48 PMVincil Bishop
03/23/2023, 12:48 PMRobert Moucha
03/23/2023, 12:48 PMVincil Bishop
03/23/2023, 12:49 PMRobert Moucha
03/23/2023, 12:52 PMVincil Bishop
03/23/2023, 12:54 PM