ambari icon indicating copy to clipboard operation
ambari copied to clipboard

[AMBARI-25579] Historical configuration parameters display garbled characters

Open echohlne opened this issue 5 years ago • 0 comments

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.properties does not specify a charset, which would cause the charset of MySQL and Ambari-server to be inconsistent.
  • The note field in the serviceconfig table of mysql preferably also supports non-ASCII characters.

How was this patch tested?

munual test result shows like this: ambari serviceconfig in mysql shows illegal-fixed ambari serviceconfig in web page shows illegal-fixed

echohlne avatar Nov 02 '20 09:11 echohlne