[
https://issues.apache.org/jira/browse/HBASE-778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-778:
------------------------
Attachment: empty-v2.patch
Better patch. Here is guts of change:
{code}
private boolean isEmptyFile(final Path f)
throws IOException {
- return this.fs.exists(f) &&
- this.fs.getFileStatus(f).getLen() == 0;
+ return !this.fs.exists(f) || this.fs.getFileStatus(f).getLen() == 0;
{code}
> Handler code for missing 'data' files failing
> ---------------------------------------------
>
> Key: HBASE-778
> URL: https://issues.apache.org/jira/browse/HBASE-778
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: stack
> Priority: Blocker
> Fix For: 0.2.0
>
> Attachments: empty-v2.patch, empty.patch
>
>
> Renaud Delbri up on the list and Jon Gray just now ran into issue where
> getting length of an HSF inside in the HStore constructor failed with FNFE.
> Test of length is done after supposed tests that file exists so odd.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.