----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73281/ -----------------------------------------------------------
Review request for ranger. Repository: ranger Description ------- Fix build due to hive exec and JDK 8 specific class Diffs ----- agents-audit/pom.xml 06ed81f55c kms/src/main/java/org/apache/hadoop/crypto/key/RangerSafenetKeySecure.java 371e367c18 pom.xml fe7812bd72 Diff: https://reviews.apache.org/r/73281/diff/1/ Testing ------- Issue 1) org.apache.ranger.authorization.presto.authorizer.RangerSystemAccessControlFactory was not able to import com.google.common.base.Throwables.throwIfUnchecked because it was coming from an old copy of Guava's Throwables shaded in hive-exec. By replacing hive-exec with orc-core in agents-audit module all depending modules use their preferred version of Guava (26.0-jre) Issue 2) RangerSafenetKeySecure.java uses directly sun.security.pkcs11.SunPKCS11 - a class that is not available in Java 9+ and this breaks the compilation. This should use reflection to load SunPKCS11 class dynamically. Thanks, Martin Grigorov
