Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1880 Decommissioning and maintenance mode in Ozone
  3. HDDS-4832

Show Datanode OperationalState (IN_SERVICE/DECOMMISSION/MAINTENANCE) in Recon

    XMLWordPrintableJSON

    Details

      Description

      There are 5 NodeOperationalState s defined at the moment:

        /**
         * Protobuf enum {@code hadoop.hdds.NodeOperationalState}
         */
        public enum NodeOperationalState
            implements com.google.protobuf.ProtocolMessageEnum {
          /**
           * <code>IN_SERVICE = 1;</code>
           */
          IN_SERVICE(0, 1),
          /**
           * <code>DECOMMISSIONING = 2;</code>
           */
          DECOMMISSIONING(1, 2),
          /**
           * <code>DECOMMISSIONED = 3;</code>
           */
          DECOMMISSIONED(2, 3),
          /**
           * <code>ENTERING_MAINTENANCE = 4;</code>
           */
          ENTERING_MAINTENANCE(3, 4),
          /**
           * <code>IN_MAINTENANCE = 5;</code>
           */
          IN_MAINTENANCE(4, 5),
          ;
      

      We should show the Datanode OperationalState in Recon Datanode page as well as it provides valuable information. See the attached screenshots for the result.

        Attachments

        1. 1 decommissioning.png
          160 kB
          Siyao Meng
        2. 2 decommissioned.png
          158 kB
          Siyao Meng

          Issue Links

            Activity

              People

              • Assignee:
                smeng Siyao Meng
                Reporter:
                smeng Siyao Meng
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: