When querying different HDFS clusters I get different separators (don't
really know if they're actually separators).

>From zkCli.sh on different clusters, running the following I get:

cmd: get /hadoop-ha/clusterX/ActiveBreadCrumb

Cluster1 (comma):
cluster1active-nn1,active-nn1.example.com �>(�>

Cluster2 (single double quote):
cluster2active-nn2"active-nn2.example.com �>(�>

Cluster3 (dollar sign):
cluster3active-nn3$active-nn3.example.com �>(�>

How can I effectively write a generic code deployed on different HDFS
clusters to effectively find out which is the active NN from querying ZK?

Or am I doing something wrong? Is the behavior above expected?

Reply via email to