ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1467

Server principal on client side is derived using hostname.

    Details

    • Release Note:
      Allow system property "zookeeper.clusterName", if defined, to be used as the instance portion of zookeeper server's Kerberos principal name. Otherwise, server's hostname will be used.
    • Tags:
      Huawei

      Description

      Server principal on client side is derived using hostname.

      org.apache.zookeeper.ClientCnxn.SendThread.startConnect()

                 try {
                      zooKeeperSaslClient = new ZooKeeperSaslClient("zookeeper/"+addr.getHostName());
                  }
      

      This may have problems when admin wanted some customized principals like zookeeper/clusterid@HADOOP.COM where clusterid is the cluster identifier but not the host name.

      IMO, server principal also should be configurable as hadoop is doing.

      1. ZOOKEEPER-1467.patch
        3 kB
        Eugene Koontz
      2. ZOOKEEPER-1467.patch
        1 kB
        Eugene Koontz

        Issue Links

          Activity

            People

            • Assignee:
              Eugene Koontz
              Reporter:
              Laxman
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:

                Development