Siddharth Wagle created AMBARI-5644:
---------------------------------------
Summary: For remote database configuration ambari server script
should not run DDL scripts
Key: AMBARI-5644
URL: https://issues.apache.org/jira/browse/AMBARI-5644
Project: Ambari
Issue Type: Task
Components: controller
Affects Versions: 1.6.0
Reporter: Siddharth Wagle
Assignee: Siddharth Wagle
Fix For: 1.6.0
ambari-server.py runs the Create DDL script on a remote DB if it finds a client
for the DB installed.
It should only run DDL on Embedded DB and not remote databases.
{code}
Do you want to change Oracle JDK [y/n] (n)?
Completing setup...
Configuring database...
Enter advanced database configuration [y/n] (n)? y
==============================================================================
Choose one of the following options:
[1] - PostgreSQL (Embedded)
[2] - Oracle
[3] - MySQL
[4] - PostgreSQL
==============================================================================
Enter choice (1): 4
Hostname (localhost): asd
Port (5432):
Database Name (ambari):
Username (ambari):
Enter Database Password (bigdata):
Configuring remote database connection properties...
psql: could not translate host name "asd" to address: Name or service not known
ERROR: Database bootstrap failed. Please, provide correct connection properties.
ERROR: Exiting with exit code 2.
REASON: Error while configuring connection properties. Exiting
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)