<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Ambari-server 2.7.3.0-139 setup doesn't work as expected in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270114#M207304</link>
    <description>&lt;P&gt;you can give like this , if you want to use the embedded postgresql database of ambari .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo ambari-server setup --java-home /usr/lib/jvm/java-1.8.0-openjdk/jre --enable-lzo-under-gpl-license --database=&lt;SPAN&gt;embedded&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;reference :&amp;nbsp;&lt;A href="https://github.com/apache/ambari/blob/d44c1b118f8e17c1af83dbd71a06f1be2e82c4c3/ambari-server/src/main/python/ambari-server.py#L477" target="_blank"&gt;https://github.com/apache/ambari/blob/d44c1b118f8e17c1af83dbd71a06f1be2e82c4c3/ambari-server/src/main/python/ambari-server.py#L477&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/d44c1b118f8e17c1af83dbd71a06f1be2e82c4c3/ambari-server/src/main/python/ambari-server.py#L777" target="_blank"&gt;https://github.com/apache/ambari/blob/d44c1b118f8e17c1af83dbd71a06f1be2e82c4c3/ambari-server/src/main/python/ambari-server.py#L777&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 10:24:52 GMT</pubDate>
    <dc:creator>akhilsnaik</dc:creator>
    <dc:date>2019-09-10T10:24:52Z</dc:date>
    <item>
      <title>Ambari-server 2.7.3.0-139 setup doesn't work as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270070#M207266</link>
      <description>&lt;P&gt;The non-interactive setup of Ambari seems to be broken. It looks like the&amp;nbsp;&lt;STRONG&gt;/etc/ambari-server/conf/ambari.properties&lt;/STRONG&gt; file is not updated when using the&amp;nbsp;&lt;STRONG&gt;ambari-server setup&lt;/STRONG&gt;&amp;nbsp;CLI flags (non-interactive setup).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone ever had the same issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;CentOS&lt;/STRONG&gt; Linux release &lt;STRONG&gt;7.6&lt;/STRONG&gt;.1810 (Core)&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;A href="http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.3.0" target="_blank" rel="noopener"&gt;http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.3.0&lt;/A&gt;&lt;/STRONG&gt; repo for &lt;STRONG&gt;ambari-server&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Steps to reproduce&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;sudo yum install -y postgresql-jdbc ambari-server
sudo ambari-server setup --help&lt;/PRE&gt;
&lt;PRE&gt;Using python /usr/bin/python&lt;BR /&gt;Setup ambari-server&lt;BR /&gt;Usage: ambari-server.py action [options]&lt;BR /&gt;&lt;BR /&gt;Options:&lt;BR /&gt;-h, --help show this help message and exit&lt;BR /&gt;-v, --verbose Print verbose status messages&lt;BR /&gt;-s, --silent Silently accepts default prompt values. For db-cleanup&lt;BR /&gt;command, silent mode will stop ambari server.&lt;BR /&gt;&lt;BR /&gt;Database options (command need to include all options):&lt;BR /&gt;--database=DBMS Database to use&lt;BR /&gt;embedded|oracle|mysql|mssql|postgres|sqlanywhere&lt;BR /&gt;--databasehost=DATABASE_HOST&lt;BR /&gt;Hostname of database server&lt;BR /&gt;--databaseport=DATABASE_PORT&lt;BR /&gt;Database port&lt;BR /&gt;--databasename=DATABASE_NAME&lt;BR /&gt;Database/Service name or ServiceID&lt;BR /&gt;--databaseusername=DATABASE_USERNAME&lt;BR /&gt;Database user login&lt;BR /&gt;--databasepassword=DATABASE_PASSWORD&lt;BR /&gt;Database user password&lt;BR /&gt;&lt;BR /&gt;JDBC options (command need to include all options):&lt;BR /&gt;--jdbc-driver=JDBC_DRIVER&lt;BR /&gt;Specifies the path to the JDBC driver JAR file or&lt;BR /&gt;archive with all required files(jdbc jar, libraries&lt;BR /&gt;and etc), for the database type specified with the&lt;BR /&gt;--jdbc-db option. Used only with --jdbc-db option.&lt;BR /&gt;Archive is supported only for sqlanywhere database.&lt;BR /&gt;--jdbc-db=JDBC_DB Specifies the database type&lt;BR /&gt;[postgres|mysql|mssql|oracle|hsqldb|sqlanywhere] for&lt;BR /&gt;the JDBC driver specified with the --jdbc-driver&lt;BR /&gt;option. Used only with --jdbc-driver option.&lt;BR /&gt;&lt;BR /&gt;Other options:&lt;BR /&gt;-j JAVA_HOME, --java-home=JAVA_HOME&lt;BR /&gt;Use specified java_home. Must be valid on all hosts&lt;BR /&gt;--stack-java-home=STACK_JAVA_HOME&lt;BR /&gt;Use specified java_home for stack services. Must be&lt;BR /&gt;valid on all hosts&lt;BR /&gt;--skip-view-extraction&lt;BR /&gt;Skip extraction of system views&lt;BR /&gt;--postgresschema=POSTGRES_SCHEMA&lt;BR /&gt;Postgres database schema name&lt;BR /&gt;--sqla-server-name=SQLA_SERVER_NAME&lt;BR /&gt;SQL Anywhere server name&lt;BR /&gt;--sidorsname=SID_OR_SNAME&lt;BR /&gt;Oracle database identifier type, Service ID/Service&lt;BR /&gt;Name sid|sname&lt;BR /&gt;--enable-lzo-under-gpl-license&lt;BR /&gt;Automatically accepts GPL license&lt;BR /&gt;--master-key=MASTER_KEY&lt;BR /&gt;Master key for encrypting passwords&lt;/PRE&gt;
&lt;PRE&gt;sudo ambari-server setup --java-home /usr/lib/jvm/java-1.8.0-openjdk/jre --enable-lzo-under-gpl-license --database=postgres --databasehost=localhost --databaseport=5432 --databasename=ambari --postgresschema=ambari --databaseusername=ambari --databasepassword=ambari --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar&amp;nbsp;&lt;/PRE&gt;
&lt;PRE&gt;&amp;nbsp;sudo ambari-server start&lt;/PRE&gt;
&lt;PRE&gt;Using python /usr/bin/python&lt;BR /&gt;Starting ambari-server&lt;BR /&gt;ERROR: Exiting with exit code -1.&lt;BR /&gt;REASON: DB Name property not set in config file.&lt;BR /&gt;- If this is a new setup, then run the "ambari-server setup" command to create the user&lt;BR /&gt;- If this is an upgrade of an existing setup, run the "ambari-server upgrade" command.&lt;BR /&gt;Refer to the Ambari documentation for more information on setup and upgrade.&lt;/PRE&gt;
&lt;P&gt;The content of the&amp;nbsp;&lt;STRONG&gt;/etc/ambari-server/conf/ambari.properties&lt;/STRONG&gt; file &lt;U&gt;AFTER&lt;/U&gt; running the ambari-server setup command is provided below:&lt;/P&gt;
&lt;PRE&gt;#&lt;BR /&gt;# Copyright 2011 The Apache Software Foundation&lt;BR /&gt;#&lt;BR /&gt;# Licensed to the Apache Software Foundation (ASF) under one&lt;BR /&gt;# or more contributor license agreements. See the NOTICE file&lt;BR /&gt;# distributed with this work for additional information&lt;BR /&gt;# regarding copyright ownership. The ASF licenses this file&lt;BR /&gt;# to you under the Apache License, Version 2.0 (the&lt;BR /&gt;# "License"); you may not use this file except in compliance&lt;BR /&gt;# with the License. You may obtain a copy of the License at&lt;BR /&gt;#&lt;BR /&gt;# http://www.apache.org/licenses/LICENSE-2.0&lt;BR /&gt;#&lt;BR /&gt;# Unless required by applicable law or agreed to in writing, software&lt;BR /&gt;# distributed under the License is distributed on an "AS IS" BASIS,&lt;BR /&gt;# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&lt;BR /&gt;# See the License for the specific language governing permissions and&lt;BR /&gt;# limitations under the License.&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;#Mon Sep 09 19:26:55 UTC 2019&lt;BR /&gt;agent.package.install.task.timeout=1800&lt;BR /&gt;agent.stack.retry.on_repo_unavailability=false&lt;BR /&gt;agent.stack.retry.tries=5&lt;BR /&gt;agent.task.timeout=900&lt;BR /&gt;agent.threadpool.size.max=25&lt;BR /&gt;ambari.python.wrap=ambari-python-wrap&lt;BR /&gt;bootstrap.dir=/var/run/ambari-server/bootstrap&lt;BR /&gt;bootstrap.script=/usr/lib/ambari-server/lib/ambari_server/bootstrap.py&lt;BR /&gt;bootstrap.setup_agent.script=/usr/lib/ambari-server/lib/ambari_server/setupAgent.py&lt;BR /&gt;client.threadpool.size.max=25&lt;BR /&gt;common.services.path=/var/lib/ambari-server/resources/common-services&lt;BR /&gt;custom.action.definitions=/var/lib/ambari-server/resources/custom_action_definitions&lt;BR /&gt;custom.postgres.jdbc.name=postgresql-jdbc.jar&lt;BR /&gt;extensions.path=/var/lib/ambari-server/resources/extensions&lt;BR /&gt;http.cache-control=no-store&lt;BR /&gt;http.charset=utf-8&lt;BR /&gt;http.pragma=no-cache&lt;BR /&gt;http.strict-transport-security=max-age=31536000&lt;BR /&gt;http.x-content-type-options=nosniff&lt;BR /&gt;http.x-frame-options=DENY&lt;BR /&gt;http.x-xss-protection=1; mode=block&lt;BR /&gt;java.releases=jdk1.8&lt;BR /&gt;java.releases.ppc64le=&lt;BR /&gt;jce.download.supported=true&lt;BR /&gt;jdk.download.supported=true&lt;BR /&gt;jdk1.8.desc=Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8&lt;BR /&gt;jdk1.8.dest-file=jdk-8u112-linux-x64.tar.gz&lt;BR /&gt;jdk1.8.home=/usr/jdk64/&lt;BR /&gt;jdk1.8.jcpol-file=jce_policy-8.zip&lt;BR /&gt;jdk1.8.jcpol-url=http://public-repo-1.hortonworks.com/ARTIFACTS/jce_policy-8.zip&lt;BR /&gt;jdk1.8.re=(jdk.*)/jre&lt;BR /&gt;jdk1.8.url=http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-8u112-linux-x64.tar.gz&lt;BR /&gt;kerberos.keytab.cache.dir=/var/lib/ambari-server/data/cache&lt;BR /&gt;kerberos.operation.verify.kdc.trust=true&lt;BR /&gt;metadata.path=/var/lib/ambari-server/resources/stacks&lt;BR /&gt;mpacks.staging.path=/var/lib/ambari-server/resources/mpacks&lt;BR /&gt;pid.dir=/var/run/ambari-server&lt;BR /&gt;previous.custom.postgres.jdbc.name=postgresql-jdbc.jar&lt;BR /&gt;recommendations.artifacts.lifetime=1w&lt;BR /&gt;recommendations.dir=/var/run/ambari-server/stack-recommendations&lt;BR /&gt;resources.dir=/var/lib/ambari-server/resources&lt;BR /&gt;rolling.upgrade.skip.packages.prefixes=&lt;BR /&gt;security.server.disabled.ciphers=TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384|TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384|TLS_RSA_WITH_AES_256_CBC_SHA256|TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384|TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384|TLS_DHE_RSA_WITH_AES_256_CBC_SHA256|TLS_DHE_DSS_WITH_AES_256_CBC_SHA256|TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA|TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA|TLS_RSA_WITH_AES_256_CBC_SHA|TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA|TLS_ECDH_RSA_WITH_AES_256_CBC_SHA|TLS_DHE_RSA_WITH_AES_256_CBC_SHA|TLS_DHE_DSS_WITH_AES_256_CBC_SHA|TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256|TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256|TLS_RSA_WITH_AES_128_CBC_SHA256|TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256|TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256|TLS_DHE_RSA_WITH_AES_128_CBC_SHA256|TLS_DHE_DSS_WITH_AES_128_CBC_SHA256|TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA|TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA|TLS_RSA_WITH_AES_128_CBC_SHA|TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA|TLS_ECDH_RSA_WITH_AES_128_CBC_SHA|TLS_DHE_RSA_WITH_AES_128_CBC_SHA|TLS_DHE_DSS_WITH_AES_128_CBC_SHA|TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA|TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA|TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA|TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA|SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA|SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA|TLS_EMPTY_RENEGOTIATION_INFO_SCSV|TLS_DH_anon_WITH_AES_256_CBC_SHA256|TLS_ECDH_anon_WITH_AES_256_CBC_SHA|TLS_DH_anon_WITH_AES_256_CBC_SHA|TLS_DH_anon_WITH_AES_128_CBC_SHA256|TLS_ECDH_anon_WITH_AES_128_CBC_SHA|TLS_DH_anon_WITH_AES_128_CBC_SHA|TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA|SSL_DH_anon_WITH_3DES_EDE_CBC_SHA|SSL_RSA_WITH_DES_CBC_SHA|SSL_DHE_RSA_WITH_DES_CBC_SHA|SSL_DHE_DSS_WITH_DES_CBC_SHA|SSL_DH_anon_WITH_DES_CBC_SHA|SSL_RSA_EXPORT_WITH_DES40_CBC_SHA|SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA|SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA|SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA|TLS_RSA_WITH_NULL_SHA256|TLS_ECDHE_ECDSA_WITH_NULL_SHA|TLS_ECDHE_RSA_WITH_NULL_SHA|SSL_RSA_WITH_NULL_SHA|TLS_ECDH_ECDSA_WITH_NULL_SHA|TLS_ECDH_RSA_WITH_NULL_SHA|TLS_ECDH_anon_WITH_NULL_SHA|SSL_RSA_WITH_NULL_MD5|TLS_KRB5_WITH_3DES_EDE_CBC_SHA|TLS_KRB5_WITH_3DES_EDE_CBC_MD5|TLS_KRB5_WITH_DES_CBC_SHA|TLS_KRB5_WITH_DES_CBC_MD5|TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA|TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5&lt;BR /&gt;security.server.keys_dir=/var/lib/ambari-server/keys&lt;BR /&gt;server.connection.max.idle.millis=900000&lt;BR /&gt;server.execution.scheduler.isClustered=false&lt;BR /&gt;server.execution.scheduler.maxDbConnections=5&lt;BR /&gt;server.execution.scheduler.maxThreads=5&lt;BR /&gt;server.execution.scheduler.misfire.toleration.minutes=480&lt;BR /&gt;server.fqdn.service.url=http://169.254.169.254/latest/meta-data/public-hostname&lt;BR /&gt;server.http.session.inactive_timeout=1800&lt;BR /&gt;server.python.log.level=INFO&lt;BR /&gt;server.python.log.name=ambari-server-command.log&lt;BR /&gt;server.stages.parallel=true&lt;BR /&gt;server.task.timeout=1200&lt;BR /&gt;server.tmp.dir=/var/lib/ambari-server/data/tmp&lt;BR /&gt;server.version.file=/var/lib/ambari-server/resources/version&lt;BR /&gt;shared.resources.dir=/usr/lib/ambari-server/lib/ambari_commons/resources&lt;BR /&gt;skip.service.checks=false&lt;BR /&gt;stackadvisor.script=/var/lib/ambari-server/resources/scripts/stack_advisor.py&lt;BR /&gt;ulimit.open.files=65536&lt;BR /&gt;upgrade.parameter.convert.hive.tables.timeout=86400&lt;BR /&gt;upgrade.parameter.move.hive.tables.timeout=86400&lt;BR /&gt;user.inactivity.timeout.default=0&lt;BR /&gt;user.inactivity.timeout.role.readonly.default=0&lt;BR /&gt;views.ambari.request.connect.timeout.millis=30000&lt;BR /&gt;views.ambari.request.read.timeout.millis=45000&lt;BR /&gt;views.http.cache-control=no-store&lt;BR /&gt;views.http.charset=utf-8&lt;BR /&gt;views.http.pragma=no-cache&lt;BR /&gt;views.http.strict-transport-security=max-age=31536000&lt;BR /&gt;views.http.x-content-type-options=nosniff&lt;BR /&gt;views.http.x-frame-options=SAMEORIGIN&lt;BR /&gt;views.http.x-xss-protection=1; mode=block&lt;BR /&gt;views.request.connect.timeout.millis=5000&lt;BR /&gt;views.request.read.timeout.millis=10000&lt;BR /&gt;views.skip.home-directory-check.file-system.list=wasb,adls,adl&lt;BR /&gt;webapp.dir=/usr/lib/ambari-server/web&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 21:26:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270070#M207266</guid>
      <dc:creator>moritz</dc:creator>
      <dc:date>2019-09-09T21:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server 2.7.3.0-139 setup doesn't work as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270088#M207280</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31969"&gt;@moritz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By running the following command , you are telling Ambari to use an Existing Postgres DB instance in this case ambari will expect you to create the Db user and setup the DB schema on your own inside the PostgresDB (ambari will not do it for you).&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# sudo ambari-server setup --java-home /usr/lib/jvm/java-1.8.0-openjdk/jre --enable-lzo-under-gpl-license --database=postgres --databasehost=localhost --databaseport=5432 --databasename=ambari --postgresschema=ambari --databaseusername=ambari --databasepassword=ambari --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Using existing Postgres DB instance for Ambari DB&lt;/STRONG&gt;&lt;/EM&gt; means we will need to make sure that After running the above "setup" command and before running the "start" command you already have performed the following task on your Postgres Database explicitly.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/administering-ambari/content/amb_using_ambari_with_postgresql.html" target="_blank"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/administering-ambari/content/amb_using_ambari_with_postgresql.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Are you sure that before starting Ambari DB you had performed the instructions mentioned in the above link?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;If you want Ambari to setup the PostgresDB (create DB user/ create various tables ..etc) for you&lt;/STRONG&gt;&lt;/EM&gt; then you may want to run the setup command without specifying the Postgres DB details so that ambari will think that it has to setup the Postgres DB for you in the Localhost with default settings like. default ambari DB username will be "ambari" default Postgres Db password will. be "bigdata" ...etc&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# sudo ambari-server setup --java-home /usr/lib/jvm/java-1.8.0-openjdk/jre --enable-lzo-under-gpl-license -s&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 02:43:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270088#M207280</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-09-10T02:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server 2.7.3.0-139 setup doesn't work as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270114#M207304</link>
      <description>&lt;P&gt;you can give like this , if you want to use the embedded postgresql database of ambari .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo ambari-server setup --java-home /usr/lib/jvm/java-1.8.0-openjdk/jre --enable-lzo-under-gpl-license --database=&lt;SPAN&gt;embedded&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;reference :&amp;nbsp;&lt;A href="https://github.com/apache/ambari/blob/d44c1b118f8e17c1af83dbd71a06f1be2e82c4c3/ambari-server/src/main/python/ambari-server.py#L477" target="_blank"&gt;https://github.com/apache/ambari/blob/d44c1b118f8e17c1af83dbd71a06f1be2e82c4c3/ambari-server/src/main/python/ambari-server.py#L477&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/d44c1b118f8e17c1af83dbd71a06f1be2e82c4c3/ambari-server/src/main/python/ambari-server.py#L777" target="_blank"&gt;https://github.com/apache/ambari/blob/d44c1b118f8e17c1af83dbd71a06f1be2e82c4c3/ambari-server/src/main/python/ambari-server.py#L777&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 10:24:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270114#M207304</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2019-09-10T10:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server 2.7.3.0-139 setup doesn't work as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270126#M207312</link>
      <description>&lt;P&gt;Thanks for your answers&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35434"&gt;@akhilsnaik&lt;/a&gt;&amp;nbsp;and &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/50614"&gt;@jsensharma&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;I forgot to mention it but I am using a database created by following the documentation mentioned by&amp;nbsp;jsensharma.&lt;/P&gt;&lt;P&gt;I already tried to use the embedded database by only using the --silent flag and it works, but in my case, I want a separate database. After installing it, I have created the ambari user, database and schema and I have loaded the /var/lib/ambari-server/resources/Ambari-DDL-Postgres-CREATE.sql script with no warning or error.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:23:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270126#M207312</guid>
      <dc:creator>moritz</dc:creator>
      <dc:date>2019-09-10T13:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server 2.7.3.0-139 setup doesn't work as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270171#M207336</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31969"&gt;@moritz&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see in your "ambari.properties" there are no JDBC settings appeared because looks like you are mixing the &lt;EM&gt;&lt;STRONG&gt;custom driver setup&lt;/STRONG&gt;&lt;/EM&gt; arguments along with the &lt;EM&gt;&lt;STRONG&gt;JDBC DB setup&lt;/STRONG&gt;&lt;/EM&gt; arguments in a single setup commands. Thats the reason the JDBC settings are not getting persisted.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please try the following sequence of setup.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step-1).&lt;/STRONG&gt; Setup the JDBC DB settings.&amp;nbsp; After this step you should see that your ambari.properties file has the JDBC entries in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# ambari-server setup --java-home /usr/lib/jvm/java-1.8.0-openjdk/jre --enable-lzo-under-gpl-license --database=postgres --databasehost=localhost --databaseport=5432 --databasename=ambari --databaseusername=ambari --postgresschema=ambari --databasepassword=ambari -s&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Step-2).&lt;/STRONG&gt; Now Setup the Custom Postgres JDBC Driver of your own choice using the following command. However, usually ambari ships a Postgres Driver here &lt;EM&gt;&lt;STRONG&gt;"/usr/lib/ambari-server/postgresql-*"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# ambari-server setup --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Step-3).&lt;/STRONG&gt; Now run the following command to verify the JDBC settings are reflected properly or not?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# grep 'jdbc' /etc/ambari-server/conf/ambari.properties
custom.postgres.jdbc.name=postgresql-jdbc.jar
server.jdbc.connection-pool=internal
server.jdbc.database=postgres
server.jdbc.database_name=ambari
server.jdbc.driver=org.postgresql.Driver
server.jdbc.hostname=localhost
server.jdbc.port=5432
server.jdbc.postgres.schema=ambari
server.jdbc.rca.driver=org.postgresql.Driver
server.jdbc.rca.url=jdbc:postgresql://localhost:5432/ambari
server.jdbc.rca.user.name=ambari
server.jdbc.rca.user.passwd=/etc/ambari-server/conf/password.dat
server.jdbc.url=jdbc:postgresql://localhost:5432/ambari
server.jdbc.user.name=ambari
server.jdbc.user.passwd=/etc/ambari-server/conf/password.dat&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 01:26:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270171#M207336</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-09-11T01:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari-server 2.7.3.0-139 setup doesn't work as expected</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270674#M207480</link>
      <description>&lt;P&gt;Thanks a lot for your answer&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/50614"&gt;@jsensharma&lt;/a&gt;, using your command makes everything work as expected!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't try this before because I was a bit confused about the impact of the --silent flag. I was assuming (wrongly) that using --silent implied to have all the parameters set to their default values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 19:15:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-server-2-7-3-0-139-setup-doesn-t-work-as-expected/m-p/270674#M207480</guid>
      <dc:creator>moritz</dc:creator>
      <dc:date>2019-09-13T19:15:13Z</dc:date>
    </item>
  </channel>
</rss>

