Hi Minwoo, You might have to setup jdbc-db and jdbc-driver with separate command. Please take a look at https://issues.apache.org/jira/browse/AMBARI-24916 It has the fix with new command setup-jdbc however, it is yet to be cherry-picked to ongoing 2.7 release.
If you are looking for an immediate solution and since you are generating rpm from source code, please remove this return statement: https://github.com/apache/ambari/blob/branch-2.7/ambari-server/src/main/python/ambari_server/serverSetup.py#L1168, generate rpms and the above mentioned setup command would work as expected. Thanks, Viraj On Fri, Aug 23, 2019 at 10:41 AM Kang Minwoo <[email protected]> wrote: > Hello, > > I try to setup an ambari server. > First, I built rpm files from ambari 2.7.3 source. > And I installed ambari-server rpm. > > After, I executed 'ambari-server setup' command with options. > > --- command > > ambari-server setup --silent --database mysql --databasehost localhost > --databaseport <port> --databasename ambari --databaseusername ambari > --databasepassword <passwd> --jdbc-db mysql --jdbc-driver <jar paht> > --java-home $JAVA_HOME > > --- > > ambari.properies did not change. > > But If I use an ambari setup with prompt, the file changed. > > > Best regards, > Minwoo Kang >
