You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2021/07/16 14:27:26 UTC

[hadoop] branch branch-3.3 updated: HADOOP-17803. Remove WARN logging from LoggingAuditor when executing a request outside an audit span (#3207)

This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new cd15b0c  HADOOP-17803. Remove WARN logging from LoggingAuditor when executing a request outside an audit span (#3207)
cd15b0c is described below

commit cd15b0cb8ae9fa3e3e4be9f96ec9a40880c6e709
Author: Mehakmeet Singh <me...@gmail.com>
AuthorDate: Fri Jul 16 16:17:05 2021 +0530

    HADOOP-17803. Remove WARN logging from LoggingAuditor when executing a request outside an audit span (#3207)
    
    
    Followup to HADOOP-17511. "Add audit/telemetry logging to S3A connector"
    
    Contributed by Mehakmeet Singh
---
 .../main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java  | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java
index 1722df1..da1f5b5 100644
--- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java
+++ b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/audit/impl/LoggingAuditor.java
@@ -411,11 +411,8 @@ public class LoggingAuditor
     public <T extends AmazonWebServiceRequest> T beforeExecution(
         final T request) {
 
-
       String error = "executing a request outside an audit span "
           + analyzer.analyze(request);
-      LOG.warn("{} {}",
-          getSpanId(), error);
       final String unaudited = getSpanId() + " "
           + UNAUDITED_OPERATION + " " + error;
       if (isRequestNotAlwaysInSpan(request)) {

---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org