hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11883) [SPS] : Handle NPE in BlockStorageMovementTracker when dropSPSWork() called
Date Thu, 25 May 2017 06:11:04 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16024249#comment-16024249
] 

Rakesh R commented on HDFS-11883:
---------------------------------

bq. I feel one null check is enough for blocksMoving in BlockStorageMovementTracker#run()..
Good catch. You are correct, {{moverTaskFutures}} map is getting cleared during {{#dropSPSWork()}}.
Please go ahead with the fix.

> [SPS] : Handle NPE in BlockStorageMovementTracker when dropSPSWork() called
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-11883
>                 URL: https://issues.apache.org/jira/browse/HDFS-11883
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: HDFS-10285
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>
> {noformat}
> Exception in thread "BlockStorageMovementTracker" java.lang.NullPointerException
> at org.apache.hadoop.hdfs.server.datanode.BlockStorageMovementTracker.run(BlockStorageMovementTracker.java:91)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message