[
https://issues.apache.org/jira/browse/AMBARI-21921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16174801#comment-16174801
]
Hadoop QA commented on AMBARI-21921:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12888289/AMBARI-21921.1.patch
against trunk revision .
{color:red}-1 patch{color}. Top-level [trunk
compilation|https://builds.apache.org/job/Ambari-trunk-test-patch/12310//artifact/patch-work/trunkJavacWarnings.txt]
may be broken.
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/12310//console
This message is automatically generated.
> A print_warning_msg() in serverConfiguration.py has too few arguments.
> ----------------------------------------------------------------------
>
> Key: AMBARI-21921
> URL: https://issues.apache.org/jira/browse/AMBARI-21921
> Project: Ambari
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Masahiro Tanaka
> Assignee: Masahiro Tanaka
> Priority: Minor
> Attachments: AMBARI-21921.0.patch, AMBARI-21921.1.patch
>
>
> {{update_database_name_property}} function which is in
> {{serverConfiguration.py}} uses {{print_warning_msg}} to show a warning when
> {{check_database_name_property}} throws {{FatalException}}.
> {code}
> except FatalException:
> properties = get_ambari_properties()
> if properties == -1:
> err = "Error getting ambari properties"
> raise FatalException(-1, err)
> print_warning_msg("{0} property isn't set in {1} . Setting it to default
> value - {3}".format(JD
> BC_DATABASE_NAME_PROPERTY, AMBARI_PROPERTIES_FILE,
> configDefaults.DEFAULT_DB_NAME))
> properties.process_pair(JDBC_DATABASE_NAME_PROPERTY,
> configDefaults.DEFAULT_DB_NAME)
> conf_file = find_properties_file()
> {code}
> The argument should be use {code}{0}, {1}, {2}{code}, not {code}{0}, {1},
> {3}{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)