class NameNodeResourceChecker {

  boolean hasAvailableDiskSpace()
      throws IOException {
    return getVolumesLowOnSpace().size() < volumes.size();
  }

  public  NameNodeResourceChecker(Configuration conf);

}