You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/09/07 15:41:46 UTC

[GitHub] [ozone] dombizita opened a new pull request, #3740: HDDS-7086. DataNode UI to show failed volumes too

dombizita opened a new pull request, #3740:
URL: https://github.com/apache/ozone/pull/3740

   ## What changes were proposed in this pull request?
   
   In this change I added the volume state to the VolumeInfoMetrics so it will be exposed to the JMX of the datanodes and added a volume state column to the Volume Information's table on the Datanode WebUI. I modified that if a volume fail it will still have a VolumeInfoMetrics with the information added that it is failed.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7086
   
   ## How was this patch tested?
   
   Tested locally on a cluster that the volume state have been exposed to the datanode's JMX (`jmx?qry=Hadoop:service=HddsDatanode,name=VolumeInfoMetrics*`) and I can also see it on the WebUI.
   ```
   {
     "beans" : [ {
       "name" : "Hadoop:service=HddsDatanode,name=VolumeInfoMetrics-/data/hdds",
       "modelerType" : "VolumeInfoMetrics-/data/hdds",
       "tag.Context" : "ozone",
       "tag.VolumeState" : "NORMAL",
       "tag.VolumeType" : "DATA_VOLUME",
       "tag.StorageDirectory" : "/data/hdds/hdds",
       "tag.StorageType" : "DISK",
       "tag.DatanodeUuid" : "70b1bce3-779b-4733-bf2d-fc27cafcb3f1",
       "tag.Hostname" : "6971e80c0c05",
       "TotalCapacity" : 47549485056,
       "Capacity" : 47549485056,
       "Available" : 47549263872,
       "LayoutVersion" : 1,
       "Reserved" : 0,
       "Used" : 221184
     }, {
       "name" : "Hadoop:service=HddsDatanode,name=VolumeInfoMetrics-/data/secondary_volume",
       "modelerType" : "VolumeInfoMetrics-/data/secondary_volume",
       "tag.Context" : "ozone",
       "tag.VolumeState" : "FAILED",
       "tag.VolumeType" : "DATA_VOLUME",
       "tag.StorageDirectory" : "/data/secondary_volume/hdds",
       "tag.StorageType" : "DISK",
       "tag.DatanodeUuid" : "70b1bce3-779b-4733-bf2d-fc27cafcb3f1",
       "tag.Hostname" : "6971e80c0c05",
       "TotalCapacity" : 47549272064,
       "Capacity" : 47549272064,
       "Available" : 47549263872,
       "LayoutVersion" : 1,
       "Reserved" : 0,
       "Used" : 8192
     } ]
   }
   ```
   <img width="1718" alt="Screenshot 2022-09-07 at 15 26 30" src="https://user-images.githubusercontent.com/50611074/188919273-9e359bab-bc06-488d-b9b0-b6186fef8b5b.png">
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] ArafatKhan2198 commented on pull request #3740: HDDS-7086. DataNode UI to show failed volumes too

Posted by GitBox <gi...@apache.org>.
ArafatKhan2198 commented on PR #3740:
URL: https://github.com/apache/ozone/pull/3740#issuecomment-1240286825

   +1 LGTM


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] dombizita commented on pull request #3740: HDDS-7086. DataNode UI to show failed volumes too

Posted by GitBox <gi...@apache.org>.
dombizita commented on PR #3740:
URL: https://github.com/apache/ozone/pull/3740#issuecomment-1239577933

   @ArafatKhan2198 could you please take a look at my patch?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] jojochuang commented on pull request #3740: HDDS-7086. DataNode UI to show failed volumes too

Posted by GitBox <gi...@apache.org>.
jojochuang commented on PR #3740:
URL: https://github.com/apache/ozone/pull/3740#issuecomment-1241004104

   Merged. Thanks @dombizita for the PR and @ArafatKhan2198 for the review!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] jojochuang merged pull request #3740: HDDS-7086. DataNode UI to show failed volumes too

Posted by GitBox <gi...@apache.org>.
jojochuang merged PR #3740:
URL: https://github.com/apache/ozone/pull/3740


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org