Sailaja Polavarapu created RANGER-2784:
------------------------------------------

             Summary: Ranger plugin audits to hdfs fail for kafka, knox, and 
kms 
                 Key: RANGER-2784
                 URL: https://issues.apache.org/jira/browse/RANGER-2784
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Sailaja Polavarapu
            Assignee: Sailaja Polavarapu


While accessing the service through knox facing below issue during auditing . 
Seems hdfs jars are missing from the classpath.

2020-04-06 07:04:39,912 ERROR provider.BaseAuditHandler 
(BaseAuditHandler.java:logError(349)) - Error writing to log file. 
org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme 
"hdfs" at 
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3367) at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3388) at 
org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:158) at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3451) at 
org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3419) at 
org.apache.hadoop.fs.FileSystem.get(FileSystem.java:513) at 
org.apache.ranger.audit.destination.HDFSAuditDestination.getLogFileStream(HDFSAuditDestination.java:284)
 at 
org.apache.ranger.audit.destination.HDFSAuditDestination.access$000(HDFSAuditDestination.java:43)
 at 
org.apache.ranger.audit.destination.HDFSAuditDestination$1.run(HDFSAuditDestination.java:156)
 at 
org.apache.ranger.audit.destination.HDFSAuditDestination$1.run(HDFSAuditDestination.java:153)
 at java.base/java.security.AccessController.doPrivileged(Native Method) at 
java.base/javax.security.auth.Subject.doAs(Subject.java:423) at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1876)
 at 
org.apache.ranger.audit.provider.MiscUtil.executePrivilegedAction(MiscUtil.java:516)
 at 
org.apache.ranger.audit.destination.HDFSAuditDestination.logJSON(HDFSAuditDestination.java:153)
 at 
org.apache.ranger.audit.destination.HDFSAuditDestination.log(HDFSAuditDestination.java:234)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to