[ https://issues.apache.org/jira/browse/AMBARI-22771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326306#comment-16326306 ]
Hudson commented on AMBARI-22771: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8598 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8598/]) AMBARI-22771. Fix broken unit test (6454655+adoroszlai: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=0e321500a17d454e978e1e59c74453e02a22d3a3]) * (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/RootServiceResponseFactoryTest.java > Ambari loads ambari.properties using ISO 8859-1 encoding > -------------------------------------------------------- > > Key: AMBARI-22771 > URL: https://issues.apache.org/jira/browse/AMBARI-22771 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Reporter: Doroszlai, Attila > Assignee: Doroszlai, Attila > Priority: Major > Labels: pull-request-available > Fix For: 3.0.0, 2.6.2 > > Attachments: AMBARI-22771.trunk.001.patch > > Time Spent: 40m > Remaining Estimate: 0h > > Ambari Server loads {{ambari.properties}} using > {{Properties.load(InputStream)}}, which [uses ISO 8859-1 character > encoding|https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html#load-java.io.InputStream-]. > This causes a problem for non-Latin1 characters that can occur in several > properties, eg. in any directory or file name. > STR: > # Install and setup Ambari Server > # Update {{ambari.properties}} changing {{server.jdbc.user.passwd}} to > {{/etc/ambari-server/conf/password.őőő}} > # {{mv -iv /etc/ambari-server/conf/password.dat > /etc/ambari-server/conf/password.őőő}} > # Try to start Ambari Server > Result: > {noformat} > ... > ERROR: Exiting with exit code 1. > REASON: Database check failed to complete. Please check > /var/log/ambari-server/ambari-server.log and > /var/log/ambari-server/ambari-server-check-database.log for more information. > {noformat} > {noformat:title=/var/log/ambari-server/ambari-server-check-database.log} > ... > FileNotFoundException: File '/etc/ambari-server/conf/password.ÅÅÅ' does > not exist > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)