public interface OperationAuditor extends org.apache.hadoop.service.Service, org.apache.hadoop.fs.statistics.IOStatisticsSource, org.apache.hadoop.fs.store.audit.AuditSpanSource<AuditSpanS3A>
| Modifier and Type | Method and Description |
|---|---|
default boolean |
checkAccess(org.apache.hadoop.fs.Path path,
S3AFileStatus status,
org.apache.hadoop.fs.permission.FsAction mode)
Check for permission to access a path.
|
String |
getAuditorId()
Get the Auditor ID.
|
AuditSpanS3A |
getUnbondedSpan()
Get the unbonded span to use after deactivating an active
span.
|
void |
init(OperationAuditorOptions options)
Initialize.
|
void init(OperationAuditorOptions options)
Service.init(Configuration).options - options to initialize with.AuditSpanS3A getUnbondedSpan()
default boolean checkAccess(org.apache.hadoop.fs.Path path,
S3AFileStatus status,
org.apache.hadoop.fs.permission.FsAction mode)
throws IOException
FileSystem.access() command
and is a soft permission check used by Hive.path - path to checkstatus - status of the path.mode - access mode.IOException - failureString getAuditorId()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.