From 99a59ae9e61e276a1866521b2baaedb2c3f644a2 Mon Sep 17 00:00:00 2001 From: xuzifu666 <1206332514@qq.com> Date: Sun, 7 Jan 2024 03:29:31 +0800 Subject: [PATCH] HDFS-17317. Improve the resource release for metaOut in DebugAdmin (#6402). Contributed by xy. Reviewed-by: Shilun Fan Signed-off-by: Ayush Saxena args) throws IOException { smallBufferSize)); BlockMetadataHeader.writeHeader(metaOut, checksum); metaOut.close(); + metaOut = null; FsDatasetUtil.computeChecksum( srcMeta, srcMeta, blockFile, smallBufferSize, conf); System.out.println(