Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 D5FCD17A29 for ; Tue, 8 Sep 2015 22:22:52 +0000 (UTC) Received: (qmail 77485 invoked by uid 500); 8 Sep 2015 22:22:46 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 77373 invoked by uid 500); 8 Sep 2015 22:22:46 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 77131 invoked by uid 99); 8 Sep 2015 22:22:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 22:22:46 +0000 Date: Tue, 8 Sep 2015 22:22:45 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-12390) Enhance FsShell file put to support selectively preserving individual file attributes. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chris Nauroth created HADOOP-12390: -------------------------------------- Summary: Enhance FsShell file put to support selectively preserving individual file attributes. Key: HADOOP-12390 URL: https://issues.apache.org/jira/browse/HADOOP-12390 Project: Hadoop Common Issue Type: Improvement Components: fs Reporter: Chris Nauroth {{hadoop fs -put}} currently supports the {{-p}} option. When used, this option preserves the source file's access time, modification time, ownership and mode. If the destination is HDFS, then this effectively means HDFS must be configured to use modification time. If the HDFS deployment chooses to disable modification time by setting {{dfs.namenode.accesstime.precision}} to 0, then attempts to use the {{-p}} flag all fail with "Access time for hdfs is not configured." This issue proposes to introduce separate options for preserving just ownership, just mode, or just times. For backwards compatibility, the behavior of a bare {{-p}} must continue to be preserving all 3. -- This message was sent by Atlassian JIRA (v6.3.4#6332)