public void setDefaultValue(String name, Object value) {
    PropertyType<?> type = getPropertyType(name);
    if (type != null) {
      Object tvalue = type.cast(value);
      if (tvalue != null) {
        values.put(name, tvalue);
      }
    }
  }
Sets the default value for a property.

@param name the property name
@param value the default value to set
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertySchema.java