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

View File

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

View File

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