ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13175) Ranger Database related property values should be recommended by stack advisor
Date Tue, 22 Sep 2015 03:43:04 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-13175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14901868#comment-14901868
] 

Hudson commented on AMBARI-13175:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.1 #572 (See [https://builds.apache.org/job/Ambari-branch-2.1/572/])
AMBARI-13175. Ranger Database related property values should be recommended by stack advisor.
(jaimin) (jaimin: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6a006eee5f6f87219a04f52a199be8b2446aad7c)
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
* ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/admin-properties.xml
* ambari-web/app/views/common/controls_view.js
* ambari-web/app/data/db_properties_info.js
* ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-admin-site.xml
* ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py


> Ranger Database related property values should be recommended by stack advisor
> ------------------------------------------------------------------------------
>
>                 Key: AMBARI-13175
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13175
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server, ambari-web, stacks
>    Affects Versions: 2.1.3
>            Reporter: Jaimin D Jetly
>            Assignee: Jaimin D Jetly
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-13175.patch, AMBARI-13175_2.patch
>
>
> Recommendation API should be called whenever admin-properties/DB_FLAVOR is changed.
> Following properties should be changed accordingly by stack advisor:
> ||DB_FLAVOR value||Dependent properties values||
> |MYSQL|1) admin-properties/SQL_CONNECTOR_JAR=/usr/share/java/mysql-connector-java.jar
\\2) ranger-admin-site/ranger.jpa.jdbc.url=jdbc:mysql://$\{admin-properties/db_host}/$\{admin-properties/db_name\}
(HDP-2.3 onwards)\\3) ranger-admin-site/ranger.jpa.jdbc.driver=com.mysql.jdbc.Driver (HDP-2.3
onwards)
> |ORACLE|1) admin-properties/SQL_CONNECTOR_JAR=/usr/share/java/ojdbc6.jar \\2) ranger-admin-site/ranger.jpa.jdbc.url=
jdbc:oracle:thin:@/$\{admin-properties/db_host}:1521/$\{admin-properties/db_name\} (HDP-2.3
onwards)\\3) ranger-admin-site/ranger.jpa.jdbc.driver=oracle.jdbc.driver.OracleDriver (HDP-2.3
onwards)
> |POSTGRES|1) admin-properties/SQL_CONNECTOR_JAR=/usr/share/java/postgresql.jar \\2) ranger-admin-site/ranger.jpa.jdbc.url=
jdbc:postgresql://$\{admin-properties/db_host}:5432/$\{admin-properties/db_name\} (HDP-2.3
onwards) \\3) ranger-admin-site/ranger.jpa.jdbc.driver=org.postgresql.Driver (HDP-2.3 onwards)
> |MSSQL|1) admin-properties/SQL_CONNECTOR_JAR=/usr/share/java/sqljdbc4.jar \\2) ranger-admin-site/ranger.jpa.jdbc.url=
jdbc:sqlserver://$\{admin-properties/db_host};databaseName=$\{admin-properties/db_name\} (HDP-2.3
onwards) \\3) ranger-admin-site/ranger.jpa.jdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
(HDP-2.3 onwards)
> |SQLA|1) admin-properties/SQL_CONNECTOR_JAR=/path_to_driver/sqla-client-jdbc.tar.gz \\2)
ranger-admin-site/ranger.jpa.jdbc.url= jdbc:sqlanywhere:host=$\{admin-properties/db_host};database=$\{admin-properties/db_name\}
(HDP-2.3 onwards) \\3) ranger-admin-site/ranger.jpa.jdbc.driver=sap.jdbc4.sqlanywhere.IDriver
(HDP-2.3 onwards)
> Also changing of $\{admin-properties/db_host} and $\{admin-properties/db_name\} should
change ranger-admin-site/ranger.jpa.jdbc.url for HDP-2.3 stack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message