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
Highlighted

Impact when rename hbase big table with snapshot command

Contributor
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

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.

View solution in original post

3 REPLIES 3

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.

View solution in original post

Highlighted

Re: Impact when rename hbase big table with snapshot command

Contributor
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?
Highlighted

Re: Impact when rename hbase big table with snapshot command

Contributor
And I would like to make sure that support namespace when rename the table by snapshot. Thanks
Don't have an account?
Coming from Hortonworks? Activate your account here