HBASE-15390 Unnecessary MetaCache evictions cause elevated number of requests to meta (ADDENDUM)
This commit is contained in:
parent
a06994bbc1
commit
a317a0f89c
|
@ -93,7 +93,11 @@ public final class ClientExceptionsUtil {
|
||||||
if (cur == re) {
|
if (cur == re) {
|
||||||
return cur;
|
return cur;
|
||||||
}
|
}
|
||||||
} else if (cur.getCause() != null) {
|
|
||||||
|
// When we receive RemoteException which wraps IOException which has a cause as
|
||||||
|
// RemoteException we can get into infinite loop here; so if the cause of the exception
|
||||||
|
// is RemoteException, we shouldn't look further.
|
||||||
|
} else if (cur.getCause() != null && !(cur.getCause() instanceof RemoteException)) {
|
||||||
cur = cur.getCause();
|
cur = cur.getCause();
|
||||||
} else {
|
} else {
|
||||||
return cur;
|
return cur;
|
||||||
|
|
Loading…
Reference in New Issue