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

        Hide
        Pierre-Luc Dion added a comment -

        Local Storage is used for system VM on this environment.

        Show
        Pierre-Luc Dion added a comment - Local Storage is used for system VM on this environment.
        Hide
        Pierre-Luc Dion added a comment -

        please ignore my comments here. Browser got redirect to improper Jira issue.
        Sorry.

        Show
        Pierre-Luc Dion added a comment - please ignore my comments here. Browser got redirect to improper Jira issue. Sorry.
        Hide
        Raul Gutierrez Segales added a comment -

        Pierre-Luc Dion: what's the use-case ooi?

        Show
        Raul Gutierrez Segales added a comment - Pierre-Luc Dion : what's the use-case ooi?
        Hide
        Raul Gutierrez Segales added a comment -

        (Or what a bigger change are you trying to make?)

        Show
        Raul Gutierrez Segales added a comment - (Or what a bigger change are you trying to make?)
        Hide
        Patrick Hunt added a comment -

        Cancelling as I don't see any patch/fix attached.

        Show
        Patrick Hunt added a comment - Cancelling as I don't see any patch/fix attached.

          People

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

            Dates

            • Created:
              Updated:

              Development