HADOOP-15936. [JDK 11] MiniDFSClusterManager & MiniHadoopClusterManager compilation fails due to the usage of '_' as identifier. Contributed by Zsolt Venczel.

This commit is contained in:
Arpit Agarwal 2018-11-15 12:42:31 -08:00
parent 460a94a10f
commit 1e15c7e855
2 changed files with 2 additions and 2 deletions
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/test
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce

View File

@ -127,7 +127,7 @@ public class MiniDFSClusterManager {
LOG.info("Cluster is no longer up, exiting");
return;
}
} catch (InterruptedException _) {
} catch (InterruptedException e) {
// nothing
}
}

View File

@ -137,7 +137,7 @@ public class MiniHadoopClusterManager {
while (true) {
try {
Thread.sleep(1000 * 60);
} catch (InterruptedException _) {
} catch (InterruptedException e) {
// nothing
}
}