[
https://issues.apache.org/jira/browse/HDFS-10525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329994#comment-15329994
]
Xiao Chen commented on HDFS-10525:
----------------------------------
An example stack trace is
{noformat}
2016-06-13 15:20:32,769 INFO
org.apache.hadoop.hdfs.server.blockmanagement.CacheReplicationMonitor:
Rescanning because of pending operations
2016-06-13 15:20:32,770 ERROR
org.apache.hadoop.hdfs.server.blockmanagement.CacheReplicationMonitor: Thread
exiting
java.lang.NullPointerException
at
org.apache.hadoop.hdfs.server.blockmanagement.CacheReplicationMonitor.rescanCachedBlockMap(CacheReplicationMonitor.java:507)
at
org.apache.hadoop.hdfs.server.blockmanagement.CacheReplicationMonitor.rescan(CacheReplicationMonitor.java:305)
at
org.apache.hadoop.hdfs.server.blockmanagement.CacheReplicationMonitor.run(CacheReplicationMonitor.java:191)
{noformat}
We should handle the case where block is not available from NN.
> Fix NPE in CacheReplicationMonitor#rescanCachedBlockMap
> -------------------------------------------------------
>
> Key: HDFS-10525
> URL: https://issues.apache.org/jira/browse/HDFS-10525
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: caching
> Affects Versions: 2.8.0
> Reporter: Xiao Chen
> Assignee: Xiao Chen
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]