HADOOP-15936. [JDK 11] MiniDFSClusterManager & MiniHadoopClusterManager compilation fails due to the usage of '_' as identifier. Contributed by Zsolt Venczel.
This commit is contained in:
parent
460a94a10f
commit
1e15c7e855
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue