GeorgeJahad commented on a change in pull request #2703:
URL: https://github.com/apache/ozone/pull/2703#discussion_r720869188



##########
File path: hadoop-ozone/integration-test/dev-support/findbugsExcludeFile.xml
##########
@@ -108,6 +108,10 @@
     <Class name="org.apache.hadoop.ozone.om.TestSecureOzoneManager"/>
     <Bug pattern="UWF_NULL_FIELD" />
   </Match>
+  <Match>
+    <Class name="org.apache.hadoop.ozone.om.TestOmMetrics"/>
+    <Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT" />

Review comment:
       Spotbugs reported this about these lines so I added an exemption:
   ```
   M D RV: Return value of OMMetadataManager.getBucketTable() ignored, but 
method has no side effect  At TestOmMetrics.java:[line 340]
   M D RV: Return value of OMMetadataManager.getVolumeTable() ignored, but 
method has no side effect  At TestOmMetrics.java:[line 342]
   ```
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to