ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1028

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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'.

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

        Activity

          People

          • Assignee:
            Chris Medaglia
            Reporter:
            Chris Medaglia
          • Votes:
            0 Vote for this issue
            Watchers:
            1 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

                Development