Md Mehrab Alam created RANGER-3133:
--------------------------------------
Summary: Ranger plugin audits to hdfs fail for presto
Key: RANGER-3133
URL: https://issues.apache.org/jira/browse/RANGER-3133
Project: Ranger
Issue Type: Bug
Components: Ranger
Affects Versions: 2.1.0
Reporter: Md Mehrab Alam
2020-12-25T01:30:30.057+0530 ERROR
org.apache.ranger.audit.queue.AuditBatchQueue0
org.apache.ranger.audit.provider.BaseAuditHandler Error writing to log
file.2020-12-25T01:30:30.057+0530 ERROR
org.apache.ranger.audit.queue.AuditBatchQueue0
org.apache.ranger.audit.provider.BaseAuditHandler Error writing to log
file.org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for
scheme "hdfs" at
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3332) at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3352) at
org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124) at
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3403) at
org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3371) at
org.apache.hadoop.fs.FileSystem.get(FileSystem.java:477) at
org.apache.ranger.audit.destination.HDFSAuditDestination.getLogFileStream(HDFSAuditDestination.java:277)
at
org.apache.ranger.audit.destination.HDFSAuditDestination$1.run(HDFSAuditDestination.java:157)
at
org.apache.ranger.audit.destination.HDFSAuditDestination$1.run(HDFSAuditDestination.java:154)
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:1729)
at
org.apache.ranger.audit.provider.MiscUtil.executePrivilegedAction(MiscUtil.java:529)
at
org.apache.ranger.audit.destination.HDFSAuditDestination.logJSON(HDFSAuditDestination.java:154)
at
org.apache.ranger.audit.destination.HDFSAuditDestination.log(HDFSAuditDestination.java:227)
at
org.apache.ranger.audit.queue.AuditBatchQueue.runLogAudit(AuditBatchQueue.java:309)
at org.apache.ranger.audit.queue.AuditBatchQueue.run(AuditBatchQueue.java:215)
at java.base/java.lang.Thread.run(Thread.java:834)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)