Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Impact when rename hbase big table with snapshot command

SOLVED Go to solution

Impact when rename hbase big table with snapshot command

Explorer
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
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Impact when rename hbase big table with snapshot command

Master Guru
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.

3 REPLIES 3
Highlighted

Re: Impact when rename hbase big table with snapshot command

Master Guru
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.

Re: Impact when rename hbase big table with snapshot command

Explorer
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?

Re: Impact when rename hbase big table with snapshot command

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