[
https://issues.apache.org/jira/browse/RANGER-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14243402#comment-14243402
]
Alok Lal commented on RANGER-194:
---------------------------------
Still working on getting the review tool to go through with this monster patch.
But in case someone brave is going to apply this patch locally and start to
review the changes then here are my comments that I was going to put in the
review tool:
Here is a high level summary of the changes:
- Renamed package {{com.hortonworks/com.xasecure}} to {{org.apache.ranger}},
e.g. {{com.xasecure.authorization.hadoop.config}} =>
{{org.apache.ranger.authorization.hadoop.config}}.
- Ranamed classes that were named {noformat}Xa*, XaSecure*, *Xa*,
*XaSecure*{noformat}, etc. to {noformat}Ranger*, *Ranger*{noformat}
respectively, e.g. {{XaSecureConfiguration}} => {{RangerConfiguration}}.
- Ranemd a public method from {noformat}*xaSecure*{noformat} to
{noformat}*Ranger*{noformat} respectively, e.g.
{{XaSecureConfiguration.getXAAuditXMLFileLocation()}} =>
{{RangerConfiguration.getRangerAuditXMLFileLocation()}}
- Renamed public costants like {noformat}XASECURE_ *, *XASECURE*,
XA_*{noformat} etc. to {noformat}RANGER_*, *RANGRE *{noformat} respectively.
e.g. in {{RangerConstants}} renamed {{XASECURE_SSL_KEYMANAGER_ALGO_TYPE}} to
{{RANGER_SSL_KEYMANAGER_ALGO_TYPE}}.
- Update references of class names in java code, e.g. value of String
{{XaSecureHadoopConstants.HBASE_ACCESS_VERIFIER_CLASS_NAME_DEFAULT_VALUE}} from
{{"com.xasecure.pdp.hbase.XASecureAuthorizer"}} to
{{"org.apache.ranger.pdp.hbase.RangerAuthorizer"}}.
- Updated references of classes into non-java code files, e.g.
{{agents-audit/src/main/resources/META-INF/persistence.xml,
agents-commont/conf/log4j.properties}}
- Updated references in script files, e.g.
{{agents-commont/scripts/enable-agent.sh, winpkg/pom.xml.}}
I have tested these changes as follows:
- Created a simple cluster with hdfs, hive and hbase installed on it.
- used the tar balls from a build on my dev machine to install the policy
admin, user-sync and plugins for hdfs, hive and hbase.
- made sure that basic functionality worked, e.g. policy enforcement, audit to
db, etc.
Special note to reviewers.
- There are far too many files in this checkin. Please pick a couple of areas
that you are intimitately familiar with and then review them.
- Concentrate especially on the non-code files, e.g. script files, or xml
configuration files that get deployed during install.
> Rename packages from xasecure to apache ranger
> ----------------------------------------------
>
> Key: RANGER-194
> URL: https://issues.apache.org/jira/browse/RANGER-194
> Project: Ranger
> Issue Type: New Feature
> Affects Versions: 0.4.0
> Reporter: Alok Lal
> Assignee: Alok Lal
> Fix For: 0.5.0
>
> Attachments:
> 0001-RANGER-194-Rename-packages-classes-to-apache-ranger-.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)