Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Ambari Server loads ambari.properties using Properties.load(InputStream), which uses ISO 8859-1 character encoding. 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:
... 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.
/var/log/ambari-server/ambari-server-check-database.log
... FileNotFoundException: File '/etc/ambari-server/conf/password.Å‘Å‘Å‘' does not exist