Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5644

For remote database configuration, ambari server script should not run DDL

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • ambari-server
    • None

    Description

      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.

      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
      

      Attachments

        Issue Links

          Activity

            People

              swagle Siddharth Wagle
              swagle Siddharth Wagle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: