-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.7.0, 3.0.0-alpha1
-
Fix Version/s: 2.8.0, 2.7.1, 3.0.0-alpha1
-
Component/s: datanode
-
Labels:None
public long getAvailable() throws IOException { long remaining = getCapacity()-getDfsUsed(); long available = usage.getAvailable(); if (remaining > available) { remaining = available; } return (remaining > 0) ? remaining : 0; }
Here we are not considering the reserved space while getting the Available Space.