hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Hsieh <...@cloudera.com>
Subject Re: HBase snapshot: 'Can't find hfile exception' when verifying snapshot
Date Mon, 15 Apr 2013 23:01:29 GMT
The online snapshot implementation in 0.94 does not guarantee that it will
succeed -- there are some unavoidable race conditions and the operation
will exit with an error message such as the one you posted.

The 0.95 versions should be more robust since table locks were introduced.

Jon.

On Mon, Apr 15, 2013 at 1:52 PM, Jerry He <jerryjch@gmail.com> wrote:

> I was getting this exception when running a snapshot.  The table is online
> and being loaded by another process during the snapshot.
> Is this exception expected sometimes and are ok in such case?   The region
> moved (ok)? or the hfile got deleted (bug)?
>
>  2013-03-29 21:11:00,716 ERROR
> org.apache.hadoop.hbase.master.snapshot.TakeSnapshotHandler: Got exception
> taking snapshot
> 2013-03-29 21:11:00,739 ERROR
> org.apache.hadoop.hbase.errorhandling.ForeignExceptionSnare:
> generic-error-snare Got an error: Failed due to exception:Can't find hfile:
> hdfs://
>
> hdtest-ha-001.svl.ibm.com:9000/hbase/.snapshot/.tmp/bak_1364616652598/f1a15e6a80231ee146091f804629a82f/family/167461869a9146589fc5712538f80867
> in the real (hdfs://
>
> hdtest-ha-001.svl.ibm.com:9000/hbase/.archive/testF/f1a15e6a80231ee146091f804629a82f/family
> )
> or archive (hdfs://
>
> hdtest-ha-001.svl.ibm.com:9000/hbase/.archive/testF/f1a15e6a80231ee146091f804629a82f/family
> )
> directory for the primary table., info:[name: "bak_1364616652598"
>



-- 
// Jonathan Hsieh (shay)
// Software Engineer, Cloudera
// jon@cloudera.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message