ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-2001

Please provide a parse method with input stream as parameter

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.zookeeper.server.quorum.QuorumPeerConfig has the following two methods.
      1.public void parse(String path) throws ConfigException
      2. public void parseProperties(Properties zkProp)
      It would be great if you could please add a wrapper to take an input stream. In the first method, half way through it becomes a file input stream. So I assume its fairly easy to add this wrapper. The reason is most applications will be getting a stream with the classloader help.

        Activity

        Suresh Mathew created issue -
        Pierre-Luc Dion made changes -
        Field Original Value New Value
        Attachment 44firststart.png [ 12659182 ]
        Attachment xenserver62-new-acs44.png [ 12659183 ]
        Pierre-Luc Dion made changes -
        Attachment management-server.log.tgz [ 12659184 ]
        Pierre-Luc Dion made changes -
        Attachment 44firststart.png [ 12659182 ]
        Pierre-Luc Dion made changes -
        Attachment management-server.log.tgz [ 12659184 ]
        Pierre-Luc Dion made changes -
        Attachment xenserver62-new-acs44.png [ 12659183 ]
        Ruel Print made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 3.4.6 [ 12323310 ]
        Patrick Hunt made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Suresh Mathew
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development