[ 
https://issues.apache.org/jira/browse/HDFS-4804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651913#comment-13651913
 ] 

Hudson commented on HDFS-4804:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #1419 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1419/])
    Move the CHANGES.txt entry for HDFS-4804 from BUG to IMPROVEMENT. (Revision 
1480101)
HDFS-4804. WARN when users set the block balanced preference percent below 0.5 
or above 1.0. Contributed by Stephen Chu. (Revision 1480098)

     Result = SUCCESS
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1480101
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1480098
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/AvailableSpaceVolumeChoosingPolicy.java

                
> WARN when users set the block balanced preference percent below 0.5 or above 
> 1.0
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-4804
>                 URL: https://issues.apache.org/jira/browse/HDFS-4804
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.0.4-alpha
>            Reporter: Stephen Chu
>            Assignee: Stephen Chu
>            Priority: Minor
>             Fix For: 2.0.5-beta
>
>         Attachments: HDFS-4804.patch
>
>
> With the new feature added in HDFS-1804 (Add a new block-volume device 
> choosing policy that looks at free space), it'd be useful to have a WARN log 
> if the operator  sets 
> dfs.datanode.fsdataset.volume.choosing.balanced-space-preference-percent to a 
> value greater than 1.0. This might happen if the operator mistakenly assumes 
> that this setting takes in a percentage number from 0.0-100.0, while the 
> setting actually takes a range 0.0-1.0.
> Also, it'd be useful to WARN in the case that value is set below 0.5, which 
> would cause disks with less free space to get more block allocations.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to