[ 
https://issues.apache.org/jira/browse/HDDS-12375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Lee updated HDDS-12375:
-----------------------------
    Attachment: ozone-findbugs3.zip

> Random object created and used only once
> ----------------------------------------
>
>                 Key: HDDS-12375
>                 URL: https://issues.apache.org/jira/browse/HDDS-12375
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Peter Lee
>            Assignee: Peter Lee
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>         Attachments: ozone-findbugs3.zip
>
>
> {code:bash}
> > 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] {code}



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

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

Reply via email to