[
https://issues.apache.org/jira/browse/HBASE-8352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu updated HBASE-8352:
--------------------------
Release Note:
In order to avoid name collision with hdfs snapshot, ".snapshot" under HBase
root directory must be renamed as ".hbase-snapshot" before deployment of 0.94.7
or later release is started.
Don't do rolling upgrade between 0.94.6.1 and 0.94.7 if there're on-going
snapshots activities.
Sequence of actions should be:
1. make sure all on-going snapshots activities have completed
2. shutdown all the masters
3. rename ".snapshot" under HBase root directory as ".hbase-snapshot"
4. upgrade the masters to 0.94.7+ release (You now can perform clone or
restore, but not taking snapshots)
5. upgrade the region servers
(You should not take snapshots until all the regions server are aligned to
0.94.7+ release)
If you take a snapshot during the RS upgrades nothing critical happens. The
".snapshot" folder would appear again and the snapshot will fail since half of
the data will be in ".hbase-snapshot" and the other half in ".snapshot"
was:
In order to avoid name collision with hdfs snapshot, ".snapshot" under HBase
root directory must be renamed as ".hbase-snapshot" before deployment of 0.94.7
or later release is started.
Don't do rolling upgrade between 0.94.6.1 and 0.94.7 if there're on-going
snapshots activities.
Sequence of actions should be:
1. make sure all on-going snapshots activities have completed
2. shutdown all the masters and upgrade them to 0.94.7+ release
3. rename ".snapshot" under HBase root directory as ".hbase-snapshot" (You now
can perform clone or restore, but not taking snapshots)
4. upgrade the region servers
(You should not take snapshots until all the regions server are aligned to
0.94.7+ release)
If you take a snapshot during the RS upgrades nothing critical happens. The
".snapshot" folder would appear again and the snapshot will fail since half of
the data will be in ".hbase-snapshot" and the other half in ".snapshot"
> Rename '.snapshot' directory
> ----------------------------
>
> Key: HBASE-8352
> URL: https://issues.apache.org/jira/browse/HBASE-8352
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Critical
> Fix For: 0.98.0, 0.94.7, 0.95.1
>
> Attachments: 8352-0.94-v1.txt, 8352-trunk.txt
>
>
> Testing HBase Snapshot on top of Hadoop's Snapshot branch
> (http://svn.apache.org/viewvc/hadoop/common/branches/HDFS-2802/), we found
> that both features used '.snapshot' directory to store metadata.
> HDFS (built from HDFS-2802 branch) doesn't allow paths with .snapshot as a
> component
> From discussion on [email protected], (see
> http://search-hadoop.com/m/kY6C3cXMs51), consensus was to rename '.snapshot'
> directory in HBase so that both features can co-exist smoothly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira