Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5DF01189B3 for ; Thu, 15 Oct 2015 05:34:05 +0000 (UTC) Received: (qmail 7545 invoked by uid 500); 15 Oct 2015 05:34:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 7497 invoked by uid 500); 15 Oct 2015 05:34:05 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 7483 invoked by uid 99); 15 Oct 2015 05:34:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2015 05:34:05 +0000 Date: Thu, 15 Oct 2015 05:34:05 +0000 (UTC) From: "Anil Gupta (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14612) Export Snapshot command example should mention property instead of "/hbase" in example in HBase Doc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: [agupta@hdpclient1.bigdataprod1.wh.truecarcorp.com ~]$ 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 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 . 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)