Exporting across versions was why I tried webhdfs. I have a cluster running HBase 0.94 and wanted to export a table to a different cluster running HBase 0.96. I got the export to work, but attempting to do a restore_snapshot results in:
TableInfoMissingException: No table descriptor file
so I assume snapshot are not compatible between versions. Is there any way to copy the table from the old cluster to the new one?
The directory layout is changed, but easy to fix by hand.
94 path is /hbase/.archive/TABLE_NAME -> 96 path is /hbase/archive/data/TABLE_NAME 94 table info is in .hbase-snapshot/NAME/.tableinfo.xyz -> 96 table info is in .hbase-snapshot/NAME/.tableinfo/tableinfo.xyz
On Fri, Mar 21, 2014 at 4:27 PM, Brian Jeltema < [EMAIL PROTECTED]> wrote:
My paths were different, and it was .tabledesc rather than .tableinfo, but I got past the problem. Now the restore_snapshot seems to be hung, and I’m seeing many warnings like the following in the logs:
master.RegionStates: Failed to open/close 24635905eba622ed4911a498b7848caa on foo.com,60020,1395321350441, set to FAILED_OPEN On Mar 21, 2014, at 12:40 PM, Matteo Bertozzi <[EMAIL PROTECTED]> wrote:
Thanks. Looks like I’ve botched the file layout, even though the hbase shell seemed to understand my snapshot. I’ll fight with it a bit.
On Mar 21, 2014, at 1:25 PM, Matteo Bertozzi <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext