hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6799) The invalidate method in SimulatedFSDataset.java failed to remove (invalidate) blocks from the file system.
Date Tue, 23 Sep 2014 16:18:34 GMT

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

Tsz Wo Nicholas Sze commented on HDFS-6799:
-------------------------------------------

TestBalancer.testUnknownDatanode failed in [build #8162|https://builds.apache.org/job/PreCommit-HDFS-Build/8162//testReport/org.apache.hadoop.hdfs.server.balancer/TestBalancer/testUnknownDatanode/].
 It might be related to the change here since there were a lot of ReplicaNotFoundException
resulted from SimulatedFSDataset.  For example,
{noformat}
2014-09-23 11:20:05,974 ERROR datanode.DataNode (DataXceiver.java:run(243))
 - host1.foo.com:47137:DataXceiver error processing COPY_BLOCK operation  src: /127.0.0.1:36294
dst: /127.0.0.1:47137
org.apache.hadoop.hdfs.server.datanode.ReplicaNotFoundException: Replica not found for BP-1049218722-67.195.81.148-1411471192218:blk_1073741850_1026
	at org.apache.hadoop.hdfs.server.datanode.BlockSender.getReplica(BlockSender.java:419)
	at org.apache.hadoop.hdfs.server.datanode.BlockSender.<init>(BlockSender.java:228)
	at org.apache.hadoop.hdfs.server.datanode.DataXceiver.copyBlock(DataXceiver.java:918)
	at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opCopyBlock(Receiver.java:241)
	at org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp(Receiver.java:80)
	at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:225)
	at java.lang.Thread.run(Thread.java:662)
{noformat}

> The invalidate method in SimulatedFSDataset.java failed to remove (invalidate) blocks
from the file system.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6799
>                 URL: https://issues.apache.org/jira/browse/HDFS-6799
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode, test
>    Affects Versions: 2.4.1
>            Reporter: Megasthenis Asteris
>            Assignee: Megasthenis Asteris
>            Priority: Minor
>             Fix For: 2.6.0
>
>         Attachments: HDFS-6799.patch
>
>
> The invalidate(String bpid, Block[] invalidBlks) method in SimulatedFSDataset.java should
remove all invalidBlks from the simulated file system. It currently fails to do that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message