ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1318

In Python binding, get_children (and get and exists, and probably others) with expired session doesn't raise exception properly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.3.6, 3.4.4, 3.5.0
    • Component/s: contrib-bindings
    • Labels:
      None
    • Environment:

      Mac OS X (at least)

    • Hadoop Flags:
      Reviewed

      Description

      In Python binding, get_children (and get and exists, and probably others) with expired session doesn't raise exception properly.

      >>> zookeeper.state(h)
      -112
      >>> zookeeper.get_children(h, '/')
      Traceback (most recent call last):
      File "<console>", line 1, in <module>
      SystemError: error return without exception set

      Let me know if you'd like me to work on a patch.

      1. ZOOKEEPER-1318.patch
        0.9 kB
        Henry Robinson
      2. ZOOKEEPER-1318.patch
        0.7 kB
        Henry Robinson

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Henry Robinson
            Reporter:
            Jim Fulton
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development