Closed BenedictRasmussen closed 6 years ago
Hey @BenedictRasmussen that sounds like a great addition. Do you want to issue a PR with whatever changes you made? Thank you for looking into this is such detail.
Sure thing. This is my first contribution to an open source, so if I managed to mess something up please let me know. I only committed the change for utilizing the JDK- if I have a little extra time I may come back around and see if I can figure out why the zookeeper nodes aren't starting.
Addressed by #17. Thank you @BenedictRasmussen !
I was getting this error when trying to create a topic after starting the VMs.
This initial issue was caused by zookeeper not being started when the VM came up. I fixed this by manually starting ZK on each VM. However, this led to a new issue- I was timing out after 30 seconds trying to create a topic.
After perusing some of the previously closed issues (specifically #5 and #6) I found that some fiddling had been done to the version of Java being installed. In issue #6 it was suggested to query the JVM using
jps
, a tool that is available with the JDK but not the JRE. I found that the JRE is installed when issuing-su -c "yum -y install java-1.8.0-openjdk"
. To get the JDK, you must append-devel
.After changing the yum installation to install the JDK, running a
vagrant destroy
and avagrant up
, and lastly manually starting the ZK nodes again, topic creation worked and I was able to query the JVM and seeQuorumPeerMain
.