Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 31CE6200CF0 for ; Thu, 7 Sep 2017 09:23:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2D334161536; Thu, 7 Sep 2017 07:23:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 764AF160EC9 for ; Thu, 7 Sep 2017 09:23:28 +0200 (CEST) Received: (qmail 32567 invoked by uid 500); 7 Sep 2017 07:23:26 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 32556 invoked by uid 99); 7 Sep 2017 07:23:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2017 07:23:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8B068C42E2 for ; Thu, 7 Sep 2017 07:23:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.28 X-Spam-Level: X-Spam-Status: No, score=0.28 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id JFrF9LHiPZYf for ; Thu, 7 Sep 2017 07:23:21 +0000 (UTC) Received: from mailin12-01.mx.hostbasket.com (mailin12-01.mx.hostbasket.com [82.143.81.121]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 81F415FE43 for ; Thu, 7 Sep 2017 07:23:20 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DdLgCm8rBZ/z/H/1VdHgYMiUqLFZBzO?= =?us-ascii?q?I4HhTGCZIIRCoU0hRsPAQIBAQEBAQEBayiFQg8BewImAkkWDQgBAYoxAax6gie?= =?us-ascii?q?LfgkBgQOCHYUzKwuIM4JHgmEFoHSOAoZPi1SHGwKVK4E5SQMLgQ0yISeFIwyCS?= =?us-ascii?q?Yt+AQEB?= X-IronPort-AV: E=Sophos;i="5.42,357,1500933600"; d="scan'208";a="57602784" Received: from hosted.by.hostbasket.com (HELO webmail.hostedexchange.be) ([85.255.199.63]) by mailout13-01.mx.hostbasket.com with ESMTP; 07 Sep 2017 09:23:13 +0200 Received: from [10.10.10.136] (81.83.27.175) by webmail.hostedexchange.be (10.1.32.20) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 7 Sep 2017 09:23:11 +0200 To: From: Bram Van Dam Subject: HDFS: Confused about "immutability" wrt overwrites X-Plan: World Domination X-Sender-Designation: The Great Intelligence Message-ID: <7549603e-145d-2500-3db2-819777b00e89@intix.eu> Date: Thu, 7 Sep 2017 09:23:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit archived-at: Thu, 07 Sep 2017 07:23:29 -0000 Greetings, I've been tinkering with HDFS, and I'm a bit confused about its alleged immutability. Basically, according to the interwebz (and my interpretation of the documentation), data in HDFS is immutable. However, when I tell the HDFS Java client to overwrite an existing file with garbage, it happily does so without complaining. That doesn't really match my definition of immutability. What I'm looking for is a way to allow users to create (and maybe append to) files, but *prevent* them from updating/deleting/overwriting data. One which isn't a client configuration option. Am I missing some kind of configuration option which enables this sort of behaviour? Or am I chasing a pipe dream? Thanks, - Bram --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org For additional commands, e-mail: user-help@hadoop.apache.org