diff --git a/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DistCp.java b/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DistCp.java index 7ff91317e71..ca64cab5099 100644 --- a/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DistCp.java +++ b/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DistCp.java @@ -445,9 +445,9 @@ public class DistCp extends Configured implements Tool { int exitCode; try { DistCp distCp = new DistCp(); - Cleanup CLEANUP = new Cleanup(distCp); + Cleanup cleanup = new Cleanup(distCp); - ShutdownHookManager.get().addShutdownHook(CLEANUP, + ShutdownHookManager.get().addShutdownHook(cleanup, SHUTDOWN_HOOK_PRIORITY); exitCode = ToolRunner.run(getDefaultConf(), distCp, argv); }