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");
|
||||
return;
|
||||
}
|
||||
} catch (InterruptedException _) {
|
||||
} catch (InterruptedException e) {
|
||||
// nothing
|
||||
}
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ public class MiniHadoopClusterManager {
|
|||
while (true) {
|
||||
try {
|
||||
Thread.sleep(1000 * 60);
|
||||
} catch (InterruptedException _) {
|
||||
} catch (InterruptedException e) {
|
||||
// nothing
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue