Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.1.0
-
None
-
Reviewed
Description
Sometimes RS UI is unable to open as we get a NPE; This happens because shipper.getCurrentPath() may return null.
We should have a null check @ ReplicationSource.java#L331
Path currentPath = shipper.getCurrentPath(); try { fileSize = getFileSize(currentPath); } catch (IOException e) { LOG.warn("Ignore the exception as the file size of HLog only affects the web ui", e); fileSize = -1; }
Attachments
Attachments
Issue Links
- relates to
-
HBASE-20193 Basic Replication Web UI - Regionserver
- Resolved
-
HBASE-21680 Port HBASE-20194 (Basic Replication WebUI - Master) and HBASE-20193 (Basic Replication Web UI - Regionserver) to branch-1
- Resolved