[jira] [Updated] (HDFS-10525) Fix NPE in CacheReplicationMonitor#rescanCachedBlockMap
[ https://issues.apache.org/jira/browse/HDFS-10525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HDFS-10525: - Status: Patch Available (was: Open) > 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 > Attachments: HDFS-10525.01.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10525) Fix NPE in CacheReplicationMonitor#rescanCachedBlockMap
[ https://issues.apache.org/jira/browse/HDFS-10525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HDFS-10525: - Attachment: HDFS-10525.01.patch Patch 1 to fix this in the capacity check. The check added in HDFS-9549 was to handle a rare case where a block stuck in pending if the capacity is reached. I think there're 2 options on the fix: - ignore null blockInfo. We already have logic to remove the blocks that cannot be found on NN - remove immediately. I feel this may add a source of confusion since we have 1 more place to remove. To limit the change scope, patch 1 goes with option 1. > 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 > Attachments: HDFS-10525.01.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10525) Fix NPE in CacheReplicationMonitor#rescanCachedBlockMap
[ https://issues.apache.org/jira/browse/HDFS-10525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HDFS-10525: - Attachment: HDFS-10525.02.patch Thanks [~cmccabe], good idea to have more logging to track this. Patch added the log. Truly sorry for missing this check in HDFS-9549. > 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 > Attachments: HDFS-10525.01.patch, HDFS-10525.02.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-10525) Fix NPE in CacheReplicationMonitor#rescanCachedBlockMap
[ https://issues.apache.org/jira/browse/HDFS-10525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colin Patrick McCabe updated HDFS-10525: Resolution: Fixed Fix Version/s: 2.8.0 Status: Resolved (was: Patch Available) +1. Committed to 2.8. Thanks, [~xiaochen]. > 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 > Fix For: 2.8.0 > > Attachments: HDFS-10525.01.patch, HDFS-10525.02.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org