private static String normalized(String name, String value) {
      if (isBlank(value)) {
        throw new IllegalArgumentException("Missing property value " + name);
      }
      return value.trim().toLowerCase();
    }
@return property value with removed unit
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UnitUpdater.java