[jira] [Created] (HDFS-12353) Modify Dfsuse percent of dfsadmin report inconsistent with Dfsuse percent of datanode reports.

2017-08-24 Thread steven-wugang (JIRA)
steven-wugang created HDFS-12353:


 Summary: Modify Dfsuse percent of dfsadmin report inconsistent 
with Dfsuse percent of datanode reports.
 Key: HDFS-12353
 URL: https://issues.apache.org/jira/browse/HDFS-12353
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: steven-wugang






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-12068) Modify judgment condition in function computeVolumeDataDensity,otherwise maybe divided by zero

2017-06-28 Thread steven-wugang (JIRA)
steven-wugang created HDFS-12068:


 Summary: Modify judgment condition in function 
computeVolumeDataDensity,otherwise maybe divided by zero
 Key: HDFS-12068
 URL: https://issues.apache.org/jira/browse/HDFS-12068
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: steven-wugang


IN function computeVolumeDataDensity,there is a piece of code,as follow:
 public void computeVolumeDataDensity() {
 ...
 if (volume.computeEffectiveCapacity() < 0) {
  skipMisConfiguredVolume(volume);
  continue;
}

double dfsUsedRatio =
truncateDecimals(volume.getUsed() /
(double) volume.computeEffectiveCapacity());
 

}
Did not filter out the case that volume.computeEffectiveCapacity() is 
zero,maybe divided by zero behind.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-12067) Add command help description about 'hdfs dfsadmin -help getVolumeReport' command.

2017-06-28 Thread steven-wugang (JIRA)
steven-wugang created HDFS-12067:


 Summary: Add command help description about 'hdfs dfsadmin -help 
getVolumeReport' command.
 Key: HDFS-12067
 URL: https://issues.apache.org/jira/browse/HDFS-12067
 Project: Hadoop HDFS
  Issue Type: Improvement
Reporter: steven-wugang


When I use the command,I see the command help description,but the help 
description doesn't make it clear,especially the argument 'port',It's easy to 
mistake for port (default 9866) in 'dfs.datanode.address'.Therefore, in order 
to use this command better,I add some descriptions about the arguments.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-12045) Add log when Diskbalancer volume is transient storage type

2017-06-26 Thread steven-wugang (JIRA)
steven-wugang created HDFS-12045:


 Summary: Add log when Diskbalancer volume is transient storage type
 Key: HDFS-12045
 URL: https://issues.apache.org/jira/browse/HDFS-12045
 Project: Hadoop HDFS
  Issue Type: Improvement
Reporter: steven-wugang


When  dskbalancer volume is transient storage type,should add log to explain 
that unable to support transient storage type。



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-12025) Modify help instructions of Plan command and Execute command about DiskBalancer

2017-06-23 Thread steven-wugang (JIRA)
steven-wugang created HDFS-12025:


 Summary: Modify help instructions of Plan command and Execute 
command about DiskBalancer
 Key: HDFS-12025
 URL: https://issues.apache.org/jira/browse/HDFS-12025
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: steven-wugang


There are some inaccurate descriptions in help descriptions about PlanCommand 
and ExecuteCommand of DiskBalancer.
For example, in ExecuteCommand help description, "Execute command runs a 
submits a plan for execution on the given data node" should be modify
modified to "Execute command runs a submitted plan for execution on the given 
data node".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org