HDFS-12264. DataNode uses a deprecated method IoUtils#cleanup. Contributed by Ajay Yadav.

This commit is contained in:
Arpit Agarwal 2017-08-07 15:05:10 -07:00
parent adb84f34db
commit bc206806da
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ public class IOUtils {
*/
public static void closeStream(java.io.Closeable stream) {
if (stream != null) {
cleanup(null, stream);
cleanupWithLogger(null, stream);
}
}