Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1467

Make server principal configurable at client side.

    XMLWordPrintableJSON

Details

    • 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.

    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.

      Attachments

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

        Issue Links

          Activity

            People

              sujithsimon22 Sujith Simon
              lakshman Laxman
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m