You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Selvamohan Neethiraj (JIRA)" <ji...@apache.org> on 2015/01/19 06:28:34 UTC

[jira] [Updated] (RANGER-197) Source code not compilable

     [ https://issues.apache.org/jira/browse/RANGER-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Selvamohan Neethiraj updated RANGER-197:
----------------------------------------
    Attachment: 0001-RANGER-197-removed-dependecies-with-SNAPSHOT-librari.patch

Patch for removing snapshot library dependencies


> Source code not compilable
> --------------------------
>
>                 Key: RANGER-197
>                 URL: https://issues.apache.org/jira/browse/RANGER-197
>             Project: Ranger
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Hanish Bansal
>            Assignee: Selvamohan Neethiraj
>            Priority: Critical
>             Fix For: 0.4.1
>
>         Attachments: 0001-RANGER-197-removed-dependecies-with-SNAPSHOT-librari.patch
>
>
> Source code compilation giving below error:
> {quote}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ranger-hbase-plugin: Compilation failure
> [ERROR] .../incubator-ranger-ranger-0.4.0-rc3/hbase-agent/src/main/java/org/apache/hadoop/hbase/security/access/XaAccessControlLists.java:[30,43] cannot find symbol
> [ERROR] symbol:   method init(org.apache.hadoop.hbase.master.MasterServices)
> [ERROR] location: class org.apache.hadoop.hbase.security.access.AccessControlLists
> {quote}
> There is change in hbase 0.99.2-SNAPSHOT library in class AccessControlLists. This class don't have init method now. The method has been replaced with createACLTable method.
> To compile the source code of Ranger below change need to be done in file <ranger-root>/hbase-agent/src/main/java/org/apache/hadoop/hbase/security/access/XaAccessControlLists.java :
> AccessControlLists.init(master); 
> to
> AccessControlLists.createACLTable(master);



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