Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-197

Source code not compilable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.4.0
    • None
    • None
    • None

    Description

      Source code compilation giving 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] .../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

      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);

      Attachments

        Activity

          People

            sneethiraj Selvamohan Neethiraj
            hanish.bansal.agarwal Hanish Bansal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: