static String removeStackUnit(Stack stack, String serviceName, String configType, String propertyName, String origValue) {
    PropertyUnit stackUnit = PropertyUnit.of(stack, serviceName, configType, propertyName);
    PropertyValue value = PropertyValue.of(propertyName, origValue);
    return value.withoutUnit(stackUnit);
  }
@return property value with removed unit
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UnitUpdater.java