[ 
https://issues.apache.org/jira/browse/HDFS-13981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated HDFS-13981:
-------------------------------
    Status: Patch Available  (was: Open)

OK, I included a patch that fixes the FindBugs warnings (we can't multiply the 
return value or FindBugs will warn that an integer overflow is possible, even 
if the float cannot be greater than 1 in practice.  I think I've got a more 
simple solution anyway.

I also modified the unit test framework to allow for assigning initial stats to 
the subcluster, specifically availableSpace, so that the routing logic is being 
exercised appropriately.

Thanks!

> Review of AvailableSpaceResolver.java
> -------------------------------------
>
>                 Key: HDFS-13981
>                 URL: https://issues.apache.org/jira/browse/HDFS-13981
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: federation
>    Affects Versions: 3.2.0
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Minor
>         Attachments: HDFS-13981.1.patch, HDFS-13981.2.patch
>
>
> * No behavior changes, just optimizing and paring down the code



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to