Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15251

Add new zookeeper event type case after zk updated to 3.5.x

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: hdfs
    • Labels:
      None

      Description

      In zookeeper 3.5.x, KeeperState add a new one named Closed, so should add Close case to the swich as it is not an unexpected Zookeeper watch event state.

      /** @deprecated */
       @Deprecated
       Unknown(-1),
       Disconnected(0),
       /** @deprecated */
       @Deprecated
       NoSyncConnected(1),
       SyncConnected(3),
       AuthFailed(4),
       ConnectedReadOnly(5),
       SaslAuthenticated(6),
       Expired(-112),
       Closed(7);

        Attachments

        1. HDFS-15251.001.patch
          3 kB
          Jianfei Jiang
        2. HDFS-15251.002.patch
          3 kB
          Jianfei Jiang

          Activity

            People

            • Assignee:
              jiangjianfei Jianfei Jiang
              Reporter:
              jiangjianfei Jianfei Jiang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: