[
https://issues.apache.org/jira/browse/HBASE-8352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633451#comment-13633451
]
Ted Yu commented on HBASE-8352:
-------------------------------
I thought about that. getCompletedSnapshots() references ".snapshot" (old name).
I can expose the following constant and reference it from
getCompletedSnapshots():
{code}
/* Name of old snapshot directory. See HBASE-8352 for details on why it needs
to be renamed */
public static final String OLD_SNAPSHOT_DIR_NAME = ".snapshot";
{code}
> 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: Blocker
> Fix For: 0.98.0, 0.94.7, 0.95.1
>
> Attachments: 8352-0.94-v1.txt, 8352-0.94-v2.txt, 8352-0.94-v3.txt,
> 8352-trunk.txt, 8352-trunk-v2.txt, 8352-trunk-v3.txt, 8352-trunk-v4.txt,
> 8352-trunk-v5.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