Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B77671114D for ; Wed, 2 Jul 2014 18:21:28 +0000 (UTC) Received: (qmail 54165 invoked by uid 500); 2 Jul 2014 18:21:28 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 54075 invoked by uid 500); 2 Jul 2014 18:21:28 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 53865 invoked by uid 99); 2 Jul 2014 18:21:28 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 18:21:28 +0000 Date: Wed, 2 Jul 2014 18:21:28 +0000 (UTC) From: "Stephen Chu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-6620) Snapshot docs should specify about preserve options with cp command 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/HDFS-6620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen Chu updated HDFS-6620: ------------------------------ Status: Patch Available (was: Open) > Snapshot docs should specify about preserve options with cp command > ------------------------------------------------------------------- > > Key: HDFS-6620 > URL: https://issues.apache.org/jira/browse/HDFS-6620 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Affects Versions: 3.0.0, 2.5.0 > Reporter: Uma Maheswara Rao G > Assignee: Stephen Chu > Attachments: HDFS-6620.001.patch > > > Currently snapshot docs contains the cp command details for copying the snapshot files to regular dfs tree. > http://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-hdfs/HdfsSnapshots.html#Snapshot_Paths > Copying a file from snapshot s0: > hdfs dfs -cp /foo/.snapshot/s0/bar /tmp > Since there are important properties(acls, xattrs..etc) for a file may need to copy back. But looking at this doc may mislead to copy with out using any options. So, It may be worth mentioning aboit that properties. Infact it should copy all properties by default from snapshot file. -- This message was sent by Atlassian JIRA (v6.2#6252)