Reply
Contributor
Posts: 47
Registered: ‎07-27-2015
Accepted Solution

Impact when rename hbase big table with snapshot command

HI, we work on cdh5.3.2-0.98.5 hbase, there is a hbase table has 3TB size. hbase> disable ‘tableName’ hbase> snapshot ‘tableName’, ‘tableSnapshot’ hbase> clone_snapshot ‘tableSnapshot’, ‘newNameSpace:newTableName’ hbase> delete_snapshot ‘tableSnapshot’ hbase> drop ‘tableName‘ We would like to rename use above shell script to change namespace, Is it will take more time to create archive file? is renamed table impact of performance than the original table? etc, scan from PIG job,the behaviour when changing old data. In other words, what is the differnt between the ‘newNameSpace:newTableName’ table and ‘tableName’? Thanks
Posts: 1,896
Kudos: 433
Solutions: 303
Registered: ‎07-31-2013

Re: Impact when rename hbase big table with snapshot command

There will not be a performance difference in the IO paths, as you will
still be using the same HFiles, and they will behave as the same table.

Highlighted
Contributor
Posts: 47
Registered: ‎07-27-2015

Re: Impact when rename hbase big table with snapshot command

Thanks for your reply,
What is the behaviour of archive HFile when update the old data?
is it the archive HFile will be changed or move to data namespace folder again when the region was compacted or splited?
Contributor
Posts: 47
Registered: ‎07-27-2015

Re: Impact when rename hbase big table with snapshot command

And I would like to make sure that support namespace when rename the table by snapshot. Thanks
Announcements

Our community is getting a little larger. And a lot better.


Learn More about the Cloudera and Hortonworks community merger planned for late July and early August.