You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/07/23 20:04:31 UTC

[jira] Updated: (HBASE-766) FileNotFoundException trying to load HStoreFile 'data'

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

stack updated HBASE-766:
------------------------

    Attachment: 766.patch

Move the getting of file length to AFTER test of file existance.

> FileNotFoundException trying to load HStoreFile 'data'
> ------------------------------------------------------
>
>                 Key: HBASE-766
>                 URL: https://issues.apache.org/jira/browse/HBASE-766
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Critical
>             Fix For: 0.2.0
>
>         Attachments: 766.patch
>
>
> From Renaud Delbru up on the list:
> {code}
> Hi,
> after our issues ("Replay of HLog required", in a precious thread) with HBase, it seems that HBase has corrupted regions.
> We have, on the three region servers, errors stating that HBase cannot open certain regions because some map files on hdfs are missing (see the log attached).
> Do you have any ideas how to fix this ?
> Thanks.
> java.io.FileNotFoundException: File does not exist: hdfs://hadoop1.sindice.net:54310/hbase/page-repository/1105668475/field/mapfiles/5122893264992435570/data
>   at org.apache.hadoop.dfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:369)
>   at org.apache.hadoop.hbase.regionserver.HStoreFile.length(HStoreFile.java:464)
>   at org.apache.hadoop.hbase.regionserver.HStore.loadHStoreFiles(HStore.java:409)
>   at org.apache.hadoop.hbase.regionserver.HStore.<init>(HStore.java:236)
>   at org.apache.hadoop.hbase.regionserver.HRegion.instantiateHStore(HRegion.java:1575)
>   at org.apache.hadoop.hbase.regionserver.HRegion.<init>(HRegion.java:451)
>   at org.apache.hadoop.hbase.regionserver.HRegionServer.instantiateRegion(HRegionServer.java:901)
>   at org.apache.hadoop.hbase.regionserver.HRegionServer.openRegion(HRegionServer.java:876)
>   at org.apache.hadoop.hbase.regionserver.HRegionServer$Worker.run(HRegionServer.java:816)
>   at java.lang.Thread.run(Thread.java:619)
> {code}
> I'd thought we'd added handling of this kind of event post HDFS crashings but looking in code, it seems that TRUNK may not have been fixed up properly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.