anmolanmol1234 commented on code in PR #7777: URL: https://github.com/apache/hadoop/pull/7777#discussion_r2194758435
########## hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemChecksum.java: ########## @@ -61,9 +64,37 @@ public class ITestAzureBlobFileSystemChecksum extends AbstractAbfsIntegrationTes private static final int MB_15 = 15 * ONE_MB; private static final int MB_16 = 16 * ONE_MB; private static final String INVALID_MD5_TEXT = "Text for Invalid MD5 Computation"; + private MessageDigest md = null; public ITestAzureBlobFileSystemChecksum() throws Exception { super(); + try { + md = MessageDigest.getInstance(MD5); + } catch (NoSuchAlgorithmException e) { + // MD5 algorithm not available; md will remain null + // Log this in production code if needed Review Comment: taken -- 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org