You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ds...@apache.org on 2018/09/06 12:58:04 UTC

[ambari] branch branch-2.7 updated: [AMBARI-24573] Clarify the warning message during ambari server setup (dsen) (#2211)

This is an automated email from the ASF dual-hosted git repository.

dsen pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new d968400  [AMBARI-24573] Clarify the warning message during ambari server setup (dsen) (#2211)
d968400 is described below

commit d9684007c03f223ff189e4a5d68365c467936607
Author: Dmitry Sen <ds...@apache.org>
AuthorDate: Thu Sep 6 15:58:00 2018 +0300

    [AMBARI-24573] Clarify the warning message during ambari server setup (dsen) (#2211)
---
 .../src/main/python/ambari_server/dbConfiguration_linux.py          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py b/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py
index 722b134..e95bbbd 100644
--- a/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py
+++ b/ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py
@@ -177,10 +177,10 @@ class LinuxDBMSConfig(DBMSConfig):
     client_usage_cmd_init = self._get_remote_script_line(self.init_script_file)
 
     print_warning_msg('To reset Ambari Server schema ' +
-                      'you must run the following DDL against the database to '
+                      'you must run the following DDL directly from the database shell to '
                       + 'drop the schema:' + os.linesep + client_usage_cmd_drop
                       + os.linesep + 'Then you must run the following DDL ' +
-                      'against the database to create the schema: ' + os.linesep +
+                      'directly from the database shell to create the schema: ' + os.linesep +
                       client_usage_cmd_init + os.linesep)
 
   def _get_default_driver_path(self, properties):
@@ -272,7 +272,7 @@ class LinuxDBMSConfig(DBMSConfig):
   # Let the console user initialize the remote database schema
   def _setup_remote_db(self):
     setup_msg = "Before starting Ambari Server, you must run the following DDL " \
-                "against the database to create the schema: {0}".format(self.init_script_file)
+                "directly from the database shell to create the schema: {0}".format(self.init_script_file)
 
     print_warning_msg(setup_msg)