Hanish Bansal created RANGER-197:
------------------------------------
Summary: 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
Priority: Critical
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)