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

In python bindings, zookeeper.set2() should return a stat dict but instead returns None

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.4.0
    • Component/s: contrib-bindings
    • Labels:
    • Environment:

      All environments.

    • Hadoop Flags:
      Reviewed

      Description

      There is a small bug in the python bindings, specifically with the zookeeper.set2() call. This method should return a stat dictionary, but actually returns None. The fix is a one-character change to zookeeper.c such that the return value is '&stat' rather than 'stat'.

        Attachments

        1. ZOOKEEPER-1028.diff
          2 kB
          Ivan Kelly
        2. ZOOKEEPER-1028.patch
          1 kB
          Chris Medaglia

          Activity

            People

            • Assignee:
              cmedaglia Chris Medaglia
              Reporter:
              cmedaglia Chris Medaglia
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified