ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <>
Subject [jira] [Commented] (AMBARI-22580) Streaming Analytics Manager (SAM) not working with PostgreSQL
Date Mon, 04 Dec 2017 13:06:00 GMT


Doroszlai, Attila commented on AMBARI-22580:

Hi [~unaipme],

Please make sure you configure the JDBC driver for Postgres prior to starting Ambari Server:

ambari-server setup --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar

Install the {{postgresql-jdbc}} (on RHEL/CentOS/SuSE) or {{libpostgresql-jdbc-java}} (on Debian/Ubuntu)
package if {{/usr/share/java/postgresql-jdbc.jar}} is not available.

> Streaming Analytics Manager (SAM) not working with PostgreSQL
> -------------------------------------------------------------
>                 Key: AMBARI-22580
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Unai P. Mendizabal
> Hi!
> I was trying to install SAM on my Ambari cluster and trying to use the same PostgreSQL
database I use for Ambari server. The installation fails though, with error "KeyError: 'jdbc_driver_jar"
coming from the file of the Streamline service. I dived into it and realized that
variable 'jdbc_driver_jar' is never initialized for PostgreSQL databases, while it does when
it comes to Oracle or MySQL.
> The file is /var/lib/ambari-server/resources/common-services/STREAMLINE/0.5.0/package/scripts/,
you can see the problem from line 192 on. As a workaround, I think it should be possible to
manually set 'jdbc_driver_jar' to the path to the jdbc driver on that same file.

This message was sent by Atlassian JIRA

View raw message