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

Make server principal configurable at client side.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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.

      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
          1 kB
          Eugene Joseph Koontz
        2. ZOOKEEPER-1467.patch
          3 kB
          Eugene Joseph Koontz

        Issue Links

          Activity

            People

            • Assignee:
              sujithsimon22 Sujith Simon
              Reporter:
              lakshman Laxman

              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

                  Issue deployment