Created 02-21-2018 10:37 PM
I am following the instructions from the following doc
The confusing part is Step 1: Installing JDBC driver.
ambari-server setup --jdbc-db=postgres --jdbc-driver=/path/to/postgres/postgresql.jar ls /usr/share/java/postgresql-jdbc.jar ambari-server setup --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar
The instruction asks to run ambari-server setup twice each with a different path to jdbc jar. The first copies the jdbc jar to /var/lib/ambari-server/resources. But then the doc asks to verify the jdbc jar at /usr/share/java/ which doesn't exist
ls /usr/share/java/postgresql-jdbc.jar
The second execution of ambari-server setup simply copy /usr/share/java/postgresql-jdbc.jar (which doesn't exist) to /var/lib/ambari-server/resources again which doesn't make sense
Created 02-21-2018 10:52 PM
Please skip the following step
b. On the Ambari Server host run:
ambari-server setup --jdbc-db=postgres --jdbc-driver=/path/to/postgres/postgresql.jar
.
Steps should be something like following:
.jar
is in the Java share directory.ls /usr/share/java/postgresql-jdbc.jar
chmod 644 /usr/share/java/postgresql-jdbc.jar
ambari-server setup --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar
I will report the Doc bug for this.
.
Created 02-22-2018 10:35 PM
If this answers your query then please mark this HCC thread as answered by clicking on "Accept" link on the correct answer, That way it will help other HCC users to quickly find the answers.
Created 02-22-2018 02:49 AM
Thank you, Jay, for the update
Created 02-26-2018 10:14 PM
Updated product docs. Latest version here: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.3/bk_ambari-administration/content/using_hive...
Created 08-08-2018 10:13 PM
Similar issue still exist for mysql at https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-administration/content/using_amba... for mysql connector 5.1.x