Github user HeartSaVioR commented on the issue:
https://github.com/apache/storm/pull/2517
Nice finding!
Btw, according to Curator web site, each process (nimbus, supervisor,
worker, etc.) can share singleton curator framework instance since it's
thread-safe.
http://curator.apache.org/curator-framework/
> CuratorFrameworks are allocated using the CuratorFrameworkFactory which
provides both factory methods and a builder for creating instances. IMPORTANT:
CuratorFramework instances are fully thread-safe. You should share one
CuratorFramework per ZooKeeper cluster in your application.
We are using Curator 4.0 both master and 1.x branch, hence we are good to
apply this.
---