class FairSchedulerConfiguration extends Configuration {

  public static Resource parseResourceConfigValue(String val)
      throws AllocationConfigurationException {
    try {
      val = StringUtils.toLowerCase(val);
      int memory = findResource(val, "mb");
      int vcores = findResource(val, "vcores");
      int gcores = findResource(val, "gcores");
      return BuilderUtils.newResource(memory, vcores, gcores);
    } catch (AllocationConfigurationException ex) {
      throw ex;
    } catch (Exception ex) {
      throw new AllocationConfigurationException(
          "Error reading resource config", ex);
    }
  }

  public  FairSchedulerConfiguration();
  public  FairSchedulerConfiguration(Configuration conf);

}