Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16

[hbase] IOException: File does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • regionserver
    • None

    Description

      Two fellas today on two unrelated clusters had versions of the below:

            <bryanduxbury>	2007-12-12 08:28:22,235 ERROR org.apache.hadoop.hbase.HRegionServer: Compaction failed for region spider_pages,10_149317711,1197468834206
      [13:01]	<bryanduxbury>	java.io.IOException: java.io.IOException: File does not exist
      [13:01]	<bryanduxbury>	at org.apache.hadoop.dfs.FSDirectory.getFileInfo(FSDirectory.java:489)
      [13:01]	<bryanduxbury>	at org.apache.hadoop.dfs.FSNamesystem.getFileInfo(FSNamesystem.java:1360)
      [13:01]	<bryanduxbury>	at org.apache.hadoop.dfs.NameNode.getFileInfo(NameNode.java:428)
      [13:01]	<bryanduxbury>	at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
      [13:01]	<bryanduxbury>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [13:01]	<bryanduxbury>	at java.lang.reflect.Method.invoke(Method.java:597)
      [13:01]	<bryanduxbury>	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:379)
      [13:01]	<bryanduxbury>	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:596)
      [13:01]	<bryanduxbury>	at sun.reflect.GeneratedConstructorAccessor10.newInstance(Unknown Source)
      [13:01]	<bryanduxbury>	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      [13:01]	<bryanduxbury>	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      [13:01]	<bryanduxbury>	at org.apache.hadoop.hbase.RemoteExceptionHandler.decodeRemoteException(RemoteExceptionHandler.java:82)
      [13:01]	<bryanduxbury>	at org.apache.hadoop.hbase.RemoteExceptionHandler.checkIOException(RemoteExceptionHandler.java:48)
      [13:01]	<bryanduxbury>	at org.apache.hadoop.hbase.HRegionServer$Compactor.run(HRegionServer.java:385)
      

      Odd is that the file thats missing's name is not cited.

      The other instance showed in the webui. Seemed to be problem with an HStoreFile in.META. region. I was unable to select content from the .META. table – it was returning null rows.

      In both cases a restart fixed things again.

      Since all state is out in hdfs and the in-memory maps are made from the hdfs state, something must not be getting updated on compaction/split or flush.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: