rich7420 commented on code in PR #9476:
URL: https://github.com/apache/ozone/pull/9476#discussion_r2634413010


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/read/TestStreamRead.java:
##########
@@ -177,49 +265,47 @@ static String createKey(OzoneBucket bucket, String 
keyName, SizeInBytes keySize,
     }
     final long elapsedNanos = System.nanoTime() - startTime;
 
-    final MessageDigest md5 = MessageDigest.getInstance("MD5");
     for (long pos = 0; pos < keySizeByte;) {
       final int writeSize = Math.toIntExact(Math.min(buffer.length, 
keySizeByte - pos));

Review Comment:
   ```suggestion
   ```



##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/read/TestStreamRead.java:
##########
@@ -177,49 +265,47 @@ static String createKey(OzoneBucket bucket, String 
keyName, SizeInBytes keySize,
     }
     final long elapsedNanos = System.nanoTime() - startTime;
 
-    final MessageDigest md5 = MessageDigest.getInstance("MD5");
     for (long pos = 0; pos < keySizeByte;) {
       final int writeSize = Math.toIntExact(Math.min(buffer.length, 
keySizeByte - pos));
-      md5.update(buffer, 0, writeSize);
       pos += writeSize;
     }

Review Comment:
   ```suggestion
   ```



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