HBASE-25898 RS getting aborted due to NPE in Replication WALEntryStream (#3292)
Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Rushabh Shah <shahrs87@gmail.com>
This commit is contained in:
parent
76d56bc42e
commit
1649013b99
|
@ -373,8 +373,8 @@ class WALEntryStream implements Closeable {
|
|||
handleFileNotFound(path, (FileNotFoundException)ioe);
|
||||
} catch (LeaseNotRecoveredException lnre) {
|
||||
// HBASE-15019 the WAL was not closed due to some hiccup.
|
||||
LOG.warn("Try to recover the WAL lease " + currentPath, lnre);
|
||||
recoverLease(conf, currentPath);
|
||||
LOG.warn("Try to recover the WAL lease " + path, lnre);
|
||||
recoverLease(conf, path);
|
||||
reader = null;
|
||||
} catch (NullPointerException npe) {
|
||||
// Workaround for race condition in HDFS-4380
|
||||
|
|
Loading…
Reference in New Issue