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

Support multiple ZooKeeper client, with different configurations, in a single JVM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.5.0
    • 3.5.2, 3.6.0
    • java client
    • None

    Description

      I have two ZK client in one JVM, one is secure client and second is normal client (For non secure cluster).

      "zookeeper.sasl.client" system property is "true" by default, because of this my second client connection is failing.

      We should pass all client configurations in client constructor like HDFS client.

      For example :

      public ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, Configuration conf) throws IOException
      	{
      		......
      		......
      	}
      

      Attachments

        1. ZOOKEEPER-2139-14.patch
          101 kB
          Mohammad Arshad
        2. ZOOKEEPER-2139-13.patch
          100 kB
          Mohammad Arshad
        3. ZOOKEEPER-2139-12.patch
          100 kB
          Mohammad Arshad
        4. ZOOKEEPER-2139-11.patch
          97 kB
          Mohammad Arshad
        5. ZOOKEEPER-2139-10.patch
          95 kB
          Mohammad Arshad
        6. ZOOKEEPER-2139-09.patch
          94 kB
          Mohammad Arshad
        7. ZOOKEEPER-2139-08.patch
          93 kB
          Mohammad Arshad
        8. ZOOKEEPER-2139-07.patch
          93 kB
          Mohammad Arshad
        9. ZOOKEEPER-2139-06.patch
          89 kB
          Mohammad Arshad
        10. ZOOKEEPER-2139-05.patch
          50 kB
          Mohammad Arshad
        11. ZOOKEEPER-2139.patch
          33 kB
          Surendra Singh Lilhore
        12. ZOOKEEPER-2139_2.patch
          45 kB
          Surendra Singh Lilhore
        13. ZOOKEEPER-2139_1.patch
          34 kB
          Surendra Singh Lilhore
        14. ZOOKEEPER-2139.patch
          45 kB
          Surendra Singh Lilhore

        Issue Links

          Activity

            People

              arshad.mohammad Mohammad Arshad
              surendralilhore Surendra Singh Lilhore
              Votes:
              1 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: