peterxcli opened a new pull request, #7933:
URL: https://github.com/apache/ozone/pull/7933

   ## What changes were proposed in this pull request?
   
   ```bash
   > ./hadoop-ozone/dev-support/checks/findbugs.sh -Dspotbugs.version=4.8.6.4 
   > cat target/findbugs/summary.txt | grep "Random object created and used 
only onc"
   
   H B DMI: Random object created and used only once in 
org.apache.hadoop.hdds.fs.TestDU.createFile(File, int)  At TestDU.java:[line 52]
   H B DMI: Random object created and used only once in 
org.apache.hadoop.ozone.client.rpc.TestECKeyOutputStream.testECKeyCreatetWithDatanodeIdChange()
  At TestECKeyOutputStream.java:[line 223]
   H B DMI: Random object created and used only once in 
org.apache.hadoop.ozone.client.rpc.TestOzoneAtRestEncryption.testMultipartUploadWithEncryption(OzoneBucket,
 int, boolean, boolean)  At TestOzoneAtRestEncryption.java:[line 655]
   H B DMI: Random object created and used only once in 
org.apache.hadoop.ozone.client.rpc.read.TestKeyInputStream.randomPositionSeek(TestBucket,
 int, KeyInputStream, byte[], int)  At TestKeyInputStream.java:[line 101]
   H B DMI: Random object created and used only once in 
org.apache.hadoop.ozone.container.TestContainerReplication.createTestData(OzoneClient,
 int)  At TestContainerReplication.java:[line 211]
   H B DMI: Random object created and used only once in 
org.apache.hadoop.ozone.container.keyvalue.impl.TestKeyValueStreamDataChannel.runTestBuffers(int,
 int, int, String)  At TestKeyValueStreamDataChannel.java:[line 193]
   H B DMI: Random object created and used only once in 
org.apache.hadoop.ozone.s3.awssdk.v1.AbstractS3SDKV1Tests.createFile(File, int) 
 At AbstractS3SDKV1Tests.java:[line 1069]
   H B DMI: Random object created and used only once in 
org.apache.hadoop.ozone.util.PayloadUtils.<static initializer for 
PayloadUtils>()  At PayloadUtils.java:[line 34]
   H B DMI: Random object created and used only once in 
org.apache.ozone.erasurecode.TestCoderBase.corruptSomeChunk(ECChunk[])  At 
TestCoderBase.java:[line 515]
   H B DMI: Random object created and used only once in 
org.apache.ozone.erasurecode.rawcoder.RawErasureCoderBenchmark.genTestData(boolean,
 int)  At RawErasureCoderBenchmark.java:[line 293] 
   ```
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-12375
   
   ## How was this patch tested?
   
   ```bash
   > ./hadoop-ozone/dev-support/checks/findbugs.sh -Dspotbugs.version=4.8.6.4 
   > cat target/findbugs/summary.txt | grep "Random object created and used 
only onc"
   
   # nothing 
   ```
   
   CI:
   https://github.com/peterxcli/ozone/actions/runs/13414217441


-- 
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