Known Limitations
Known Limitations
This section consists of known limitations we are aware of, persisting in this release.
HBase
Issue description: HBase master fails to start with Ranger-HBase plugin enabled and no Tez client on HBase master.
When the Ranger-HBase plugin is enabled, the HBase master fails to start due to a NoClassDefFoundError for org.apache.commons.lang.StringUtils.
- The issue is identified in ODP versions 3.3.6.0-1 and 3.3.6.1-1.
- The issue will be fixed in ODP version 3.3.6.2-1.
ERROR [master/hbase:16000:becomeActiveMaster] coprocessor.CoprocessorHost: The coprocessor org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor threw 'java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils'
at org.apache.ranger.authorization.hadoop.config.RangerConfiguration.getFileLocation(RangerConfiguration.java:76) ~[?:?]
at org.apache.ranger.authorization.hadoop.config.RangerConfiguration.addResourceIfReadable(RangerConfiguration.java:48) ~[?:?]
at org.apache.ranger.authorization.hadoop.config.RangerPluginConfig.addResourcesForServiceType(RangerPluginConfig.java:287) ~[?:?]
at org.apache.ranger.authorization.hadoop.config.RangerPluginConfig.<init>(RangerPluginConfig.java:73) ~[?:?]
Workaround:
Depending on the cluster setup, we can proceed with either of the following workarounds.
- If the cluster includes Tez components, ensure the Tez client is installed on the HBase Master host.
- Execute the following command on the HBase Master host to add the required JAR file, this resolves the HBase Master startup issue.
cp /usr/odp/3.3.6.1-1/hadoop/lib/ranger-hdfs-plugin-impl/commons-lang-2.6.jar /usr/odp/3.3.6.1-1/ranger-hbase-plugin/lib/ranger-hbase-plugin-impl/
