HBASE-25898 RS getting aborted due to NPE in Replication WALEntryStream (#3300)
Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Rushabh Shah <shahrs87@gmail.com> Signed-off-by: Aman Poonia <aman.poonia.29@gmail.com>
This commit is contained in:
parent
130d6a1f15
commit
3f8aa4c7e8
|
@ -356,8 +356,8 @@ public class WALEntryStream implements Iterator<Entry>, Closeable, Iterable<Entr
|
|||
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