[
https://issues.apache.org/jira/browse/HDDS-12375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928487#comment-17928487
]
Peter Lee commented on HDDS-12375:
----------------------------------
[~adoroszlai] Could we upgrade to findbugs 4 after this patch is merged? As
there is no P1 bugs in https://github.com/apache/ozone/pull/7933 findbugs
summary.
> 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
>
> {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: [email protected]
For additional commands, e-mail: [email protected]