Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Since HDFS-10813 has committed to the trunk, then we can use getNodes method to parse the nodes string and support multiple nodes with hdfs diskbalancer subcommands(ex -report, -query). In this JIRA, we are focusing on the subcommand -report.
That means we can use command hdfs diskbalancer -report -node to print one or one more datanodes report info. A test input command(here I use UUID to specify one datanode):
hdfs diskbalancer -report -node e05ade8e-fb28-42cf-9aa9-43e564c0ec99,38714337-84fb-4e35-9ea3-0bb47d6da700
Attachments
Attachments
Issue Links
- is related to
-
HDFS-11358 DiskBalancer: Report command supports reading nodes from host file
- Resolved