Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # dev >> HBase snapshot: 'Can't find hfile exception' when verifying snapshot


+
Jerry He 2013-04-15, 20:52
Copy link to this message
-
Re: HBase snapshot: 'Can't find hfile exception' when verifying snapshot
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 <[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
> 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
// [EMAIL PROTECTED]
+
Ted Yu 2013-04-15, 22:57