Hi All, I am trying to build the ranger from source code. I have downloaded the code from https://github.com/apache/incubator-ranger.
When I am compiling the code, i was getting below error: [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] /home/hanish/Downloads/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 I debug the code and found that ranger code is using 0.99.2-SNAPSHOT version and this version of hbase don't have init method. I tried by changing the hbase version in ranger pom file but that didn't work. After that i checked out code of hbase 0.99.2 and found that there is similar method to init with named createACLTable. So i changed the below source code file ( hbase-agent/src/main/java/org/apache/hadoop/hbase/security/access/XaAccessControlLists.java) of ranger : AccessControlLists.init(master); to AccessControlLists.createACLTable(master); After changes code compiled successfully. Please let me know if i am doing anything wrong. -- *Thanks & Regards* *Hanish Bansal*
