Volume storage info is useful for debugging the issue related to policy...
Add datanode admin command to get the storage info.
Reviewed and tested the patch.. Looks good to me.
Thanks Hanisha Koneru for review..
Surendra Singh Lilhore thanks for reporting.. Patch LGTM.. can you please re-upload the patch..? Jenkins is picking up .png file and failing..
Thansk Brahma Reddy Battula for review...
This message was automatically generated.
Failed tests are unrelated..
FsDatasetImpl.java:2609: final StorageType storageType;:23: Variable 'storageType' must be private and have accessor methods.
Brahma Reddy Battula
Do I need to fix this checkstyle warning ?
In VolumeInfo class other fields are also not private and no getter method.
The failing tests are not related; let's fix checkstyle warnings with existing ones.
Committed to trunk and branch-2 branches. Thanks for your contribution Surendra Singh Lilhore. Thanks for your review Brahma Reddy Battula and Hanisha Koneru.
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11259 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11259/)
HDFS-11375. Display the volume storage type in datanode UI. Contributed (liuml07: rev 0741dd3b9abdeb65bb783c1a8b01f078c4bdba17)
Thanks Mingliang Liu for review and commit..