Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1623 High Availability Framework for HDFS NN
  3. HDFS-2679

Add interface to query current state to HAServiceProtocol

    XMLWordPrintableJSON

Details

    Description

      Let's add an interface to HAServiceProtocol to query the current state of a NameNode for use by the the CLI (HAAdmin) and Web UI (HDFS-2677). This essentially makes the names "active" and "standby" from ACTIVE_STATE and STANDBY_STATE public interfaces, which IMO seems reasonable. Unlike the other APIs we should be able to use the interface even when HA is not enabled (as by default a non-HA NN is active).

      Attachments

        1. hdfs-2679.txt
          7 kB
          Eli Collins
        2. hdfs-2679.txt
          7 kB
          Eli Collins
        3. hdfs-2679.txt
          11 kB
          Eli Collins
        4. hdfs-2679.txt
          7 kB
          Eli Collins
        5. hdfs-2679.txt
          6 kB
          Eli Collins

        Activity

          People

            eli Eli Collins
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: