ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-142

Provide Javadoc as to the maximum size of the data byte array that may be stored within a znode

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: java client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently there is nothing in the API documentation as to the maximum size of the data in a znode.

        Issue Links

          Activity

          Hide
          Jakob Homan added a comment -

          This patch:

          • Adds verbage to the Javadoc for ZooKeeper.create and ZooKeeper.setData about the 1 mb limit of data in a znode.

          Also, when I was testing this, I found that passing a large-than-1-mb byte array caused the client to be disconnected, along with the KeeperException being thrown. Is disconnection correct in this case? I'm not sure, just asking. Seems a bit harsh.

          Show
          Jakob Homan added a comment - This patch: Adds verbage to the Javadoc for ZooKeeper.create and ZooKeeper.setData about the 1 mb limit of data in a znode. Also, when I was testing this, I found that passing a large-than-1-mb byte array caused the client to be disconnected, along with the KeeperException being thrown. Is disconnection correct in this case? I'm not sure, just asking. Seems a bit harsh.
          Hide
          Patrick Hunt added a comment -

          +1 on patch

          Show
          Patrick Hunt added a comment - +1 on patch
          Hide
          Patrick Hunt added a comment -

          Committed revision 699104.

          The issue of whether semantics are correct has been created as jira ZOOKEEPER-143

          Show
          Patrick Hunt added a comment - Committed revision 699104. The issue of whether semantics are correct has been created as jira ZOOKEEPER-143
          Hide
          Hudson added a comment -

          Integrated in ZooKeeper-trunk #95 (See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/95/)

          Show
          Hudson added a comment - Integrated in ZooKeeper-trunk #95 (See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/95/ )
          Hide
          Patrick Hunt added a comment -

          3.0.0 has been released, closing issues.

          Show
          Patrick Hunt added a comment - 3.0.0 has been released, closing issues.

            People

            • Assignee:
              Jakob Homan
              Reporter:
              Jakob Homan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development