[ https://issues.apache.org/jira/browse/HDFS-3731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Patrick McCabe updated HDFS-3731: --------------------------------------- Attachment: HDFS-3731.002.patch Here is the patch. It's a work in progress-- the unit test does not pass yet. As I said before, the DN does definitely pick up on the blocks, but when I try to open one of the files, I am getting this error: {code} java.io.IOException: Cannot obtain block length for LocatedBlock{BP-1760620400-127.0.0.1-1344450370534:blk_-4365335954576768874_1019; getBlockSize()=65536; corrupt=false; offset=0; locs=[127.0.0.1:57476]} {code} It's possible that this is a lease recovery issue of some kind... > 2.0 release upgrade must handle blocks being written from 1.0 > ------------------------------------------------------------- > > Key: HDFS-3731 > URL: https://issues.apache.org/jira/browse/HDFS-3731 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node > Affects Versions: 2.0.0-alpha > Reporter: Suresh Srinivas > Assignee: Colin Patrick McCabe > Priority: Blocker > Attachments: HDFS-3731.002.patch > > > Release 2.0 upgrades must handle blocks being written to (bbw) files from 1.0 > release. Problem reported by Brahma Reddy. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira