hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5994) Fix TestDataNodeRollingUpgrade failure
Date Fri, 21 Feb 2014 22:23:26 GMT

     [ https://issues.apache.org/jira/browse/HDFS-5994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Agarwal updated HDFS-5994:
--------------------------------

    Attachment: HDFS-5994.01.patch

# For findbugs fix we throw an exception if mkdirs() returns false but the error is benign
if the directory already exists.
# Another fix to {{restoreBlockFilesFromTrash}} to short-circuit for child directories.
# Update test to create multi-block files to test checking the {{exists()}} case.

> Fix TestDataNodeRollingUpgrade failure
> --------------------------------------
>
>                 Key: HDFS-5994
>                 URL: https://issues.apache.org/jira/browse/HDFS-5994
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: HDFS-5535 (Rolling upgrades)
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HDFS-5994.01.patch
>
>
> [Link to Jenkins precommit run for HDFS-5535|https://builds.apache.org/job/PreCommit-HDFS-Build/6203//testReport/].
> Failure exception:
> {code}
> org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block: BP-1810550394-67.195.138.22-1392967331823:blk_1073741825_1001
file=/TestDataNodeRollingUpgrade1.dat
> 	at org.apache.hadoop.hdfs.DFSInputStream.chooseDataNode(DFSInputStream.java:883)
> 	at org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:558)
> 	at org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:791)
> 	at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:838)
> 	at java.io.DataInputStream.read(DataInputStream.java:83)
> 	at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:80)
> 	at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:54)
> 	at org.apache.hadoop.hdfs.DFSTestUtil.readFileBuffer(DFSTestUtil.java:203)
> 	at org.apache.hadoop.hdfs.DFSTestUtil.readFile(DFSTestUtil.java:193)
> 	at org.apache.hadoop.hdfs.server.datanode.TestDataNodeRollingUpgrade.testDatanodeRollingUpgradeWithRollback(TestDataNodeRollingUpgrade.java:166)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message