You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Pradeep Agrawal <pr...@freestoneinfotech.com> on 2016/11/07 09:50:40 UTC
Review Request 53522: RANGER-1197: track downloaded and active
policy/tag versions in plugins
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/53522/
-----------------------------------------------------------
Review request for ranger, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Ramesh Mani, and Velmurugan Periasamy.
Bugs: RANGER-1197
https://issues.apache.org/jira/browse/RANGER-1197
Repository: ranger
Description
-------
**Problem Statement : **
To support changes of https://reviews.apache.org/r/50754 on all DB flavors, x_plugin_info table script is required for all db flavor.
**Proposed Solution : **
Added SQL scripts(db patches) for all db flavors, which shall create 'x_plugin_info' in corresponding ranger DB.
Diffs
-----
security-admin/db/mysql/patches/025-create-schema-for-plugin-info.sql 732f2cf
security-admin/db/oracle/patches/025-create-schema-for-plugin-info.sql PRE-CREATION
security-admin/db/postgres/patches/025-create-schema-for-plugin-info.sql 1b12915
security-admin/db/sqlanywhere/patches/025-create-schema-for-plugin-info.sql PRE-CREATION
security-admin/db/sqlserver/patches/025-create-schema-for-plugin-info.sql PRE-CREATION
Diff: https://reviews.apache.org/r/53522/diff/
Testing
-------
**Steps Performed (with patch) :**
1. After mvn Build; untar the Ranger module and updated install.properties for Oracle DB flavor.
2. Called setup.sh to install Ranger.
**Expected Behavior :**
1. Ranger installation should finish successfully and patch 025 should get applied successfully.
2. 'x_plugin_info' should get created.
2. Ranger UI should work.
**Actual Behavior :**
1. Ranger Installtion finished successfully and patch 025 was applied successfully.
2. 'x_plugin_info' was available.
2. Started Ranger Admin and was able to login in Ranger UI.
Note: Patch has been tested on all supported DB Flavors.
Thanks,
Pradeep Agrawal
Re: Review Request 53522: RANGER-1197: track downloaded and active
policy/tag versions in plugins
Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/53522/#review155117
-----------------------------------------------------------
Ship it!
Ship It!
- Madhan Neethiraj
On Nov. 7, 2016, 9:50 a.m., Pradeep Agrawal wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/53522/
> -----------------------------------------------------------
>
> (Updated Nov. 7, 2016, 9:50 a.m.)
>
>
> Review request for ranger, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Ramesh Mani, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1197
> https://issues.apache.org/jira/browse/RANGER-1197
>
>
> Repository: ranger
>
>
> Description
> -------
>
> **Problem Statement : **
> To support changes of https://reviews.apache.org/r/50754 on all DB flavors, x_plugin_info table script is required for all db flavor.
>
> **Proposed Solution : **
> Added SQL scripts(db patches) for all db flavors, which shall create 'x_plugin_info' in corresponding ranger DB.
>
>
> Diffs
> -----
>
> security-admin/db/mysql/patches/025-create-schema-for-plugin-info.sql 732f2cf
> security-admin/db/oracle/patches/025-create-schema-for-plugin-info.sql PRE-CREATION
> security-admin/db/postgres/patches/025-create-schema-for-plugin-info.sql 1b12915
> security-admin/db/sqlanywhere/patches/025-create-schema-for-plugin-info.sql PRE-CREATION
> security-admin/db/sqlserver/patches/025-create-schema-for-plugin-info.sql PRE-CREATION
>
> Diff: https://reviews.apache.org/r/53522/diff/
>
>
> Testing
> -------
>
> **Steps Performed (with patch) :**
> 1. After mvn Build; untar the Ranger module and updated install.properties for Oracle DB flavor.
> 2. Called setup.sh to install Ranger.
>
> **Expected Behavior :**
> 1. Ranger installation should finish successfully and patch 025 should get applied successfully.
> 2. 'x_plugin_info' should get created.
> 2. Ranger UI should work.
>
> **Actual Behavior :**
> 1. Ranger Installtion finished successfully and patch 025 was applied successfully.
> 2. 'x_plugin_info' was available.
> 2. Started Ranger Admin and was able to login in Ranger UI.
>
> Note: Patch has been tested on all supported DB Flavors.
>
>
> Thanks,
>
> Pradeep Agrawal
>
>