hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Hbase exportSnapshot fails in HA missing hbase-prefix-tree.jar
Date Fri, 14 Apr 2017 11:41:30 GMT
Can you show the complete stack trace ?

Please pastebin contents of hbase/site.xml

Thanks 

> On Apr 14, 2017, at 3:51 AM, Vasco Pinho <vasco@hotjar.com> wrote:
> 
> When running:
> 
> bin/hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot
> -Dfs.s3a.buffer.dir=/tmp/hbase_snap_tmp -snapshot TestTable-20170413-143020
> -copy-to s3a://bucket-backup/hbase/snapshots/
> 
> 
> The operation fails with:
> 
> 
> 2017-04-13 15:03:24,947 ERROR [main] snapshot.ExportSnapshot: Snapshot
> export failed
> java.io.FileNotFoundException: File does not exist:
> hdfs://clusterID/home/ubuntu/hbase-1.2.4/hbase-prefix-tree/target/hbase-prefix-tree-1.2.4.jar
>        at
> org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1072)
> 
> 
> I assume it's looking for the
> "/home/ubuntu/hbase-1.2.4/hbase-prefix-tree/target/hbase-prefix-tree-1.2.4.jar"
> which does exist but obviously not under hdfs://. I don't know why this
> file is needed or why it's being looked for in the hdfs:// instead of the
> local filesystem, where it does exist. I confirmed that it looks under
> "fs.defaultFS" + <hbase install path> + <relative path to hbase-prefix-tree
> jar", although I have no idea how to fix this. Any ideas?
> 
> 
> Thanks,
> Vasco Pinho

Mime
View raw message