You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Raghu Angadi (JIRA)" <ji...@apache.org> on 2007/08/14 21:37:30 UTC
[jira] Updated: (HADOOP-1712) Unhandled exception in Block CRC
upgrade on datanode.
[ https://issues.apache.org/jira/browse/HADOOP-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raghu Angadi updated HADOOP-1712:
---------------------------------
Attachment: HADOOP-1712.patch
This patch fixes the above problem.
Changed 'doUpgrade()' not to throw IOException so that we don't miss such exceptions. Also doUpgrade catches RuntimException, logs it and then throws if it ever occurs.
> Unhandled exception in Block CRC upgrade on datanode.
> -----------------------------------------------------
>
> Key: HADOOP-1712
> URL: https://issues.apache.org/jira/browse/HADOOP-1712
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.14.0
> Reporter: Raghu Angadi
> Assignee: Raghu Angadi
> Priority: Blocker
> Fix For: 0.14.0
>
> Attachments: HADOOP-1712.patch
>
>
> One of the un-handled IOException during BlockCRC upgrade results in the upgrade thread to exit with out proper upgrade.
> exception on the datanode :
> {noformat}
> 2007-08-13 22:18:27,324 ERROR org.apache.hadoop.dfs.DataNode: java.io.IOException: Block blk_-6404399692543439055 is not valid.
> at org.apache.hadoop.dfs.FSDataset.getBlockFile(FSDataset.java:492)
> at org.apache.hadoop.dfs.BlockCrcUpgradeObjectDatanode.doUpgrade(BlockCrcUpgrade.java:1431)
> at org.apache.hadoop.dfs.UpgradeObjectDatanode.run(UpgradeObjectDatanode.java:95)
> at java.lang.Thread.run(Thread.java:619)
> {noformat}
> Will also check if there are any more of such misses.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.