hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8352) Rename '.snapshot' directory
Date Tue, 16 Apr 2013 16:49:16 GMT

     [ 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 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"

  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. all the RSs and Masters must be aligned to 0.94.7+ release
3. rename ".snapshot" under HBase root directory as ".hbase-snapshot"
4. perform upgrade

    
> 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 dev@hbase.apache.org, (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

Mime
View raw message