ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-22771) Ambari loads ambari.properties using ISO 8859-1 encoding
Date Fri, 12 Jan 2018 11:23:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-22771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doroszlai, Attila updated AMBARI-22771:
---------------------------------------
    Fix Version/s: 2.6.2
                   3.0.0

> 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
>             Fix For: 3.0.0, 2.6.2
>
>
> 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:
> {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
(v6.4.14#64029)

Mime
View raw message