[
https://issues.apache.org/jira/browse/HBASE-14612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958357#comment-14958357
]
Anil Gupta commented on HBASE-14612:
------------------------------------
Usage of Export util also doesnt clarifies that user needs to provide
hbase.rootdir:
[[email protected] ~]$ hbase
org.apache.hadoop.hbase.snapshot.ExportSnapshot
Snapshot name not provided.
Usage: bin/hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot [options]
where [options] are:
-h|-help Show this help and exit.
-snapshot NAME Snapshot to restore.
*-copy-to NAME Remote destination hdfs://*
-no-checksum-verify Do not verify checksum.
-chuser USERNAME Change the owner of the files to the specified one.
-chgroup GROUP Change the group of the files to the specified one.
-chmod MODE Change the permission of the files to the specified
one.
-mappers Number of mappers to use during the copy
(mapreduce.job.maps).
> Export Snapshot command example should mention <hbase.rootdir> property
> instead of "/hbase" in example in HBase Doc
> -------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-14612
> URL: https://issues.apache.org/jira/browse/HBASE-14612
> Project: HBase
> Issue Type: Bug
> Components: documentation, hbase
> Affects Versions: 1.1.2, 0.98.15
> Reporter: Anil Gupta
> Priority: Minor
>
> In HBase Docs(http://hbase.apache.org/book.html#ops.snapshots), Export
> Snapshot example specified remote dir as: "hdfs://remotehdfs:8020/hbase"
> It doesnt really specifies what is the logical meaning of that directory.
> After struggling with trying to clone snapshot on remote cluster:
> http://search-hadoop.com/m/YGbbuzfA42JAwbh1
> I analyzed that export dir should be <hbase.rootdir> . I think, we should
> specify this requirement in HBase Snapshot docs:
> http://hbase.apache.org/book.html#ops.snapshots
> PS: CDH uses /hbase while HDP uses /apps/hbase/data. Also, user can configure
> any other directory as hbase.rootdir.
> Hence, the documentation should not say "/hbase".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)