Package org.apache.hadoop.fs.s3a.audit
@LimitedPrivate("S3A auditing extensions")
@Unstable
package org.apache.hadoop.fs.s3a.audit
Support for auditing and ultimately tracing operations.
This is a public API for extension points, e.g. opentracing.
However, it is very unstable as we evolve how best to audit/trace
operation.
An audit service is instantiated when an S3A Filesystem is initialized
during creation.
The choice of service is determined in the configuration option
S3AAuditConstants.AUDIT_SERVICE_CLASSNAME.
The service MUST implement the interface
OperationAuditor
to provide an AuditSpan whenever
an operation is started through a public FileSystem API call
(+some other operations).-
ClassDescriptionThis is in the AWS exception tree so that exceptions raised in the AWS SDK are correctly reported up.Support for integrating auditing within the S3A code.Interface for Audit Managers auditing operations through the AWS libraries.The auditor has rejected the operation as forbidden/unavailable.Flags which can be passed down during initialization, or after it.An Audit Span with S3A integration, specifically callbacks from the AWS client SDK.Callbacks for audit spans.Extract information from a request.Info about a request.Interfaces for audit services to implement.Options for the
OperationAuditor.Class to help parse AWS S3 Logs.Various verbs in the S3 logs.