@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class HdfsAuditLogger extends Object implements AuditLogger
AuditLogger.| コンストラクタと説明 | 
|---|
| HdfsAuditLogger() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | logAuditEvent(boolean succeeded,
             String userName,
             InetAddress addr,
             String cmd,
             String src,
             String dst,
             FileStatus status)Called to log an audit event. | 
| void | logAuditEvent(boolean succeeded,
             String userName,
             InetAddress addr,
             String cmd,
             String src,
             String dst,
             FileStatus stat,
             org.apache.hadoop.ipc.CallerContext callerContext,
             org.apache.hadoop.security.UserGroupInformation ugi,
             org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager)Same as
  logAuditEvent(boolean, String, InetAddress, String, String, String,
 FileStatus)with additional parameters related to logging delegation token
 tracking IDs. | 
| abstract void | logAuditEvent(boolean succeeded,
             String userName,
             InetAddress addr,
             String cmd,
             String src,
             String dst,
             FileStatus stat,
             org.apache.hadoop.security.UserGroupInformation ugi,
             org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager)Same as
  logAuditEvent(boolean, String, InetAddress, String, String,
 String, FileStatus, CallerContext, UserGroupInformation,
 DelegationTokenSecretManager)withoutCallerContextinformation. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializepublic HdfsAuditLogger()
public void logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus status)
AuditLoggerThis method must return as quickly as possible, since it's called in a critical section of the NameNode's operation.
logAuditEvent インタフェース内 AuditLoggersucceeded - Whether authorization succeeded.userName - Name of the user executing the request.addr - Remote address of the request.cmd - The requested command.src - Path of affected source file.dst - Path of affected destination file (if any).status - File information for operations that change the file's
             metadata (permissions, owner, times, etc).public void logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus stat, org.apache.hadoop.ipc.CallerContext callerContext, org.apache.hadoop.security.UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager)
logAuditEvent(boolean, String, InetAddress, String, String, String,
 FileStatus) with additional parameters related to logging delegation token
 tracking IDs.succeeded - Whether authorization succeeded.userName - Name of the user executing the request.addr - Remote address of the request.cmd - The requested command.src - Path of affected source file.dst - Path of affected destination file (if any).stat - File information for operations that change the file's metadata
          (permissions, owner, times, etc).callerContext - Context information of the callerugi - UserGroupInformation of the current user, or null if not logging
          token tracking informationdtSecretManager - The token secret manager, or null if not logging
          token tracking informationpublic abstract void logAuditEvent(boolean succeeded, String userName, InetAddress addr, String cmd, String src, String dst, FileStatus stat, org.apache.hadoop.security.UserGroupInformation ugi, org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenSecretManager dtSecretManager)
logAuditEvent(boolean, String, InetAddress, String, String,
 String, FileStatus, CallerContext, UserGroupInformation,
 DelegationTokenSecretManager) without CallerContext information.Copyright © 2016 Apache Software Foundation. All rights reserved.