public static ConfigurableResource parseResourceConfigValue(String value)
      throws AllocationConfigurationException {
    return parseResourceConfigValue(value, Long.MAX_VALUE);
  }
@Test
  public void testOnlyMemory() throws Exception {
    String value = "1024mb";
    expectUnparsableResource(value);
    parseResourceConfigValue(value);
  }