MAPREDUCE-6639 Process hangs in LocatedFileStatusFetcher if FileSystem.get throws. Ryan Blue via stevel
This commit is contained in:
parent
0bbe01f8d5
commit
7eddecd357
@ -175,7 +175,7 @@ private void registerInvalidInputError(List<IOException> errors) {
|
|||||||
private void registerError(Throwable t) {
|
private void registerError(Throwable t) {
|
||||||
lock.lock();
|
lock.lock();
|
||||||
try {
|
try {
|
||||||
if (unknownError != null) {
|
if (unknownError == null) {
|
||||||
unknownError = t;
|
unknownError = t;
|
||||||
condition.signal();
|
condition.signal();
|
||||||
}
|
}
|
||||||
@ -368,4 +368,4 @@ public void onFailure(Throwable t) {
|
|||||||
registerError(t);
|
registerError(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user