Hi, I need to use Hadoop 2.8.5, does Ranger-1.2 support Hadoop-2.8.x or 2.9.x or Hadoop 3.x?
When I tried to compile Ranger 1.2 on Hadoop 2.8.5, I got the following error, Finding: 1) same error if Hadoop version is 2.9.2, or 3.0.3 2) If works if Hadoop is 2.7.x (tried 2.7.1, 2.7.3, 2.7.7 => no compilation error) [INFO] Reactor Summary: [INFO] [INFO] ranger ............................................. SUCCESS [ 36.189 s] [INFO] Jdbc SQL Connector ................................. SUCCESS [ 2.856 s] [INFO] Credential Support ................................. SUCCESS [ 22.889 s] [INFO] Audit Component .................................... SUCCESS [ 14.304 s] [INFO] Common library for Plugins ......................... SUCCESS [ 8.327 s] [INFO] Installer Support Component ........................ SUCCESS [ 0.577 s] [INFO] Credential Builder ................................. SUCCESS [ 1.484 s] [INFO] Embedded Web Server Invoker ........................ SUCCESS [ 5.098 s] [INFO] Key Management Service ............................. FAILURE [ 15.438 s] [INFO] ranger-plugin-classloader .......................... SKIPPED [INFO] HBase Security Plugin Shim ......................... SKIPPED [INFO] HBase Security Plugin .............................. SKIPPED [INFO] Hdfs Security Plugin ............................... SKIPPED [INFO] Hive Security Plugin ............................... SKIPPED [INFO] Knox Security Plugin Shim .......................... SKIPPED [INFO] Knox Security Plugin ............................... SKIPPED [INFO] Storm Security Plugin .............................. SKIPPED [INFO] YARN Security Plugin ............................... SKIPPED [INFO] Ranger Util ........................................ SKIPPED [INFO] Unix Authentication Client ......................... SKIPPED [INFO] Security Admin Web Application ..................... SKIPPED [INFO] KAFKA Security Plugin .............................. SKIPPED [INFO] SOLR Security Plugin ............................... SKIPPED [INFO] NiFi Security Plugin ............................... SKIPPED [INFO] NiFi Registry Security Plugin ...................... SKIPPED [INFO] Unix User Group Synchronizer ....................... SKIPPED [INFO] Ldap Config Check Tool ............................. SKIPPED [INFO] Unix Authentication Service ........................ SKIPPED [INFO] KMS Security Plugin ................................ SKIPPED [INFO] Tag Synchronizer ................................... SKIPPED [INFO] Hdfs Security Plugin Shim .......................... SKIPPED [INFO] Hive Security Plugin Shim .......................... SKIPPED [INFO] YARN Security Plugin Shim .......................... SKIPPED [INFO] Storm Security Plugin shim ......................... SKIPPED [INFO] KAFKA Security Plugin Shim ......................... SKIPPED [INFO] SOLR Security Plugin Shim .......................... SKIPPED [INFO] Atlas Security Plugin Shim ......................... SKIPPED [INFO] KMS Security Plugin Shim ........................... SKIPPED [INFO] ranger-examples .................................... SKIPPED [INFO] Ranger Examples - Conditions and ContextEnrichers .. SKIPPED [INFO] Ranger Examples - SampleApp ........................ SKIPPED [INFO] Ranger Examples - Ranger Plugin for SampleApp ...... SKIPPED [INFO] Ranger Tools ....................................... SKIPPED [INFO] Atlas Security Plugin .............................. SKIPPED [INFO] Sqoop Security Plugin .............................. SKIPPED [INFO] Sqoop Security Plugin Shim ......................... SKIPPED [INFO] Kylin Security Plugin .............................. SKIPPED [INFO] Kylin Security Plugin Shim ......................... SKIPPED [INFO] Unix Native Authenticator .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:56 min [INFO] Finished at: 2018-11-27T12:00:27+08:00 [INFO] Final Memory: 48M/943M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project ranger-kms: Compilation failure [ERROR] /apache-ranger-1.2.0-src/kms/src/main/java/org/apache/hadoop/crypto/key/kms/server/KMSAuthenticationFilter.java:[75,25] error: incompatible types: Text cannot be converted to String [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :ranger-kms Please help.