[ 
https://issues.apache.org/jira/browse/HADOOP-18258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575989#comment-17575989
 ] 

ASF GitHub Bot commented on HADOOP-18258:
-----------------------------------------

steveloughran commented on PR #4383:
URL: https://github.com/apache/hadoop/pull/4383#issuecomment-1206709133

   
   this isn't a bug, just inefficient, as the instanceof is always false if the 
argument is null.
   
   because this is generated code, it's not something which can be fixed. so 
instead we tell it to ignore this possible bug NP_NULL_INSTANCEOF
   
   1. edit the file hadoop-tools/hadoop-aws/dev-support/findbugs-exclude.xml
   2. under the bottom match entry, add an XML element to tell spotbugs to be 
quiet
    
   ```xml
     <Match>
       <Class name="org.apache.hadoop.fs.s3a.audit.AvroDataRecord"/>
       <Bug pattern="NP_NULL_INSTANCEOF"/>
     </Match>
   ```
   
   
   you can check the module without having to wait for yetus to do it.
   ```bash
   mvn spotbugs:spotbugs
   ```




> Merging of S3A Audit Logs
> -------------------------
>
>                 Key: HADOOP-18258
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18258
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Sravani Gadey
>            Assignee: Sravani Gadey
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 12.5h
>  Remaining Estimate: 0h
>
> Merging audit log files containing huge number of audit logs collected from a 
> job like Hive or Spark job containing various S3 requests like list, head, 
> get and put requests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to