-Re: HBase snapshot: 'Can't find hfile exception' when verifying snapshot
Jonathan Hsieh 2013-04-15, 23:01
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.
On Mon, Apr 15, 2013 at 1:52 PM, Jerry He <[EMAIL PROTECTED]> 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
> generic-error-snare Got an error: Failed due to exception:Can't find hfile:
> in the real (hdfs://
> or archive (hdfs://
> directory for the primary table., info:[name: "bak_1364616652598"
// Jonathan Hsieh (shay)
// Software Engineer, Cloudera
// [EMAIL PROTECTED]