[ https://issues.apache.org/jira/browse/HDFS-10737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15414875#comment-15414875 ]
Yuanbo Liu commented on HDFS-10737: ----------------------------------- I find that there is no proper way to get storage path from report since datanode report doesn't contain the path information. I suggest to replace path with storageID here. > disk balance reporter print null for the volume's path > ------------------------------------------------------ > > Key: HDFS-10737 > URL: https://issues.apache.org/jira/browse/HDFS-10737 > Project: Hadoop HDFS > Issue Type: Bug > Components: diskbalancer, hdfs > Reporter: Yuanbo Liu > Assignee: Yuanbo Liu > > reproduction steps: > 1. hdfs diskbalancer -plan xxx.xx(host name of datanode) > 2. If plan json is created successfully, run > hdfs diskbalancer -report -node xxx.xx > the output info is here: > {noformat} > [DISK: volume-null] - 0.00 used: 45997/101122146304, 1.00 free: > 101122100307/101122146304, isFailed: False, isReadOnly: False, isSkip: False, > isTransient: False. > {noformat} > {{vol.getPath()}} returns null in {{ReportCommand#handleTopReport}} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org