Hi All
Today came to know about this project and very curious to try it
out and begin to build but struck at building hbase, following is the error
i got, Kindly help me to install
mvn clean compile package install assembly:assembly -rf :ranger-hbase-plugin
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for security_plugins.ranger-hdfs-plugin:ranger-hdfs-plugin:jar:0.4.0
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-shade-plugin is missing. @ line 100, column
12
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.ranger:security-admin-web:war:0.4.0
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for
com.sun.jersey.contribs:jersey-spring:jar with value '*' does not match a
valid id pattern. @ line 243, column 26
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for
org.apache.ranger:lookup-client:jar with value '*' does not match a valid
id pattern. @ line 3 32, column 33
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for
org.apache.ranger:lookup-client:jar with value '*' does not match a valid
id pattern. @ line 3 36, column 33
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for
org.apache.ranger:lookup-client:jar with value '*' does not match a valid
id pattern. @ line 3 40, column 33
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for
org.apache.ranger:lookup-client:jar with value '*' does not match a valid
id pattern. @ line 3 44, column 33
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for
org.apache.hadoop:hadoop-common:jar with value '*' does not match a valid
id pattern. @ line 3 55, column 27
[WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for
org.apache.hadoop:hadoop-common:jar with value '*' does not match a valid
id pattern. @ line 3 59, column 27
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.ranger:credValidator:uexe:0.4.0
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:native-maven-plugin is missing. @ line 38, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] HBaseSecurityAgents
[INFO] Knox Security Plugin
[INFO] Credential Builder
[INFO] Storm Security Plugin
[INFO] Agent Implementation Libary
[INFO] Installer Support Component
[INFO] Embeded Web Server Invoker
[INFO] Resource Lookup API Implementation
[INFO] Unix Authentication Client
[INFO] Security Admin Web Application
[INFO] Unix User Group Synchronizer
[INFO] Unix Authentication Service
[INFO] Unix Native Authenticator
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building HBaseSecurityAgents 0.4.0
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
ranger-hbase-plugin ---
[INFO] Deleting /opt/incubator-ranger-master/hbase-agent/target
[INFO]
[INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @
ranger-hbase-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
ranger-hbase-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/opt/incubator-ranger-master/hbase-agent/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (default) @ ranger-hbase-plugin ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
ranger-hbase-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to
/opt/incubator-ranger-master/hbase-agent/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING]
/opt/incubator-ranger-master/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java:
/opt/incubator-ranger-master/
hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
uses or overrides a deprecated API.
[WARNING]
/opt/incubator-ranger-master/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java:
Recompile with -Xlint:depreca tion for
details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/opt/incubator-ranger-master/hbase-agent/src/main/java/org/apache/hadoop/hbase/security/access/XaAccessControlLists.java:[28,35]
cannot find symbol
symbol: method init(org.apache.hadoop.hbase.master.MasterServices)
location: class org.apache.hadoop.hbase.security.access.AccessControlLists
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Skipping HBaseSecurityAgents
[INFO] This project has been banned from the build due to previous failures.
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] HBaseSecurityAgents ............................... FAILURE [41.179s]
[INFO] Knox Security Plugin .............................. SKIPPED
[INFO] Credential Builder ................................ SKIPPED
[INFO] Storm Security Plugin ............................. SKIPPED
[INFO] Agent Implementation Libary ....................... SKIPPED
[INFO] Installer Support Component ....................... SKIPPED
[INFO] Embeded Web Server Invoker ........................ SKIPPED
[INFO] Resource Lookup API Implementation ................ SKIPPED
[INFO] Unix Authentication Client ........................ SKIPPED
[INFO] Security Admin Web Application .................... SKIPPED
[INFO] Unix User Group Synchronizer ...................... SKIPPED
[INFO] Unix Authentication Service ....................... SKIPPED
[INFO] Unix Native Authenticator ......................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 45.844s
[INFO] Finished at: Mon Dec 08 03:28:58 IST 2014
[INFO] Final Memory: 33M/79M
[INFO]
------------------------------------------------------------------------
[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]
/opt/incubator-ranger-master/hbase-agent/src/main/java/org/apache/hadoop/hbase/security/access/XaAccessControlLists.java:[28,35]
cannot find symbol
[ERROR] symbol: method init(org.apache.hadoop.hbase.master.MasterServices)
[ERROR] location: class
org.apache.hadoop.hbase.security.access.AccessControlLists
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
*RegardsMuthupandi.K*
Think before you print.