cm-druid
cm-druid copied to clipboard
Force IPv4 only
Unfortunately CDH5 supports IPv4 only. The CDH installation manual explicitly mentioned this. However sometimes we don't have control over the IP stack configuration.
Many CDH services are started with -Djava.net.preferIPv4Stack=true
regardless the services that actually support IPv6. Hence, Druid failed to connect to Zookeeper if IPv6 is enabled.
Add the same config to Druid.
IPv4 only attempt. https://github.com/knoguchi/cm-druid/commit/ee9ca6ac459ad384d070e75150f3375e2f2c6da5