ambari
ambari copied to clipboard
[AMBARI-25579] Historical configuration parameters display garbled characters
What changes were proposed in this pull request?
- Ambari has some tables that explicitly specify the encoding type of the field as UTF-8(Ambari-DDL-MySQL-CREATE.sql#L973 and Ambari-DDL-MySQL-CREATE.sql#L993), However, the mysql URL in
/etc/ambari-server/conf/ambari.propertiesdoes not specify a charset, which would cause the charset of MySQL and Ambari-server to be inconsistent. - The
notefield in theserviceconfigtable of mysql preferably also supports non-ASCII characters.
How was this patch tested?
munual test result shows like this:
