Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDA7518840 for ; Tue, 9 Feb 2016 03:26:54 +0000 (UTC) Received: (qmail 55191 invoked by uid 500); 9 Feb 2016 03:26:49 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 55058 invoked by uid 500); 9 Feb 2016 03:26:49 -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 55046 invoked by uid 99); 9 Feb 2016 03:26:49 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2016 03:26:49 +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 986F9C070F for ; Tue, 9 Feb 2016 03:26:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.298 X-Spam-Level: * X-Spam-Status: No, score=1.298 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera-com.20150623.gappssmtp.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id CLgb5CzFToPp for ; Tue, 9 Feb 2016 03:26:47 +0000 (UTC) Received: from mail-io0-f171.google.com (mail-io0-f171.google.com [209.85.223.171]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 4D24120CDE for ; Tue, 9 Feb 2016 03:26:47 +0000 (UTC) Received: by mail-io0-f171.google.com with SMTP id g73so5407164ioe.3 for ; Mon, 08 Feb 2016 19:26:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=NcxZfcQz0Xh8OVL0yQG1131CHRwMzXS2NAII9imlhTs=; b=gkb1lXHbRsgIqolI8J89xxZ7Vy5P/wVLWZNsfi1Tv/4W4o139CZAlXbjmNcEHdDf1h nJupjfGlHBi7aOAQ2BnrsYA6PJwaTAd2vDdlZ+d2ggm/ZM9EMhut/j1iiXWjPwU6MiR9 hFw74JF525t4oSmBeKHvgMCHny1cJozzGkdjksuQbMQ+wWocCot7eBMXTGb+B53/apX/ JhI7HFaD41pYs3eiBseqDjFpyrJFnseK5EIvNeMfLowxk76PONYU/cRVITUBHaXa7CEX YDeu0bj6jS3DhISvo5HarZ6/XbE5QANPocuiLAQJ0j1/QOdY/7T6GVDiqZOhJF2IzTZh dn+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=NcxZfcQz0Xh8OVL0yQG1131CHRwMzXS2NAII9imlhTs=; b=bdtb5DrPour7h9nerRws7GgBfF/4bOY/SpEGMLlcEWUVcryFWeiXCQfbp/hKfxACXk gaA0DQUkcX6EEA4mfs3Ifgys1HPlXVQbOHGqBBK506m0t7t8JSNcLRICuh8uUx/t87sY xNNpIuKGEOgL455buRFvy1Ym7Yhdxqg5YYn6508ftMxdIHV2HqYEaIDnmUofa+VegaAP udtvPzhOO1ntAv+twfzqOQYE5PVBWW5MBDx2qepuD1alJldseE2Fcb5BarlU4VcWR/wf IPe3ZuuO3DbDiibh+JOcQpePN9Qtrfk5FMYBJF2TSs2HqxQDoJ6ze56IBywU3mA7gnuq f0bg== X-Gm-Message-State: AG10YORpGLv4M0InJin2O/b9+oJSPLu0sHk1xTLhLHnySSQHDH1+njGuIG9wNui3aH+WdvKMxU84LcUjR9A04eyh X-Received: by 10.107.138.198 with SMTP id c67mr29550400ioj.37.1454988406614; Mon, 08 Feb 2016 19:26:46 -0800 (PST) MIME-Version: 1.0 References: <56B8C63D.8070009@ifsttar.fr> In-Reply-To: <56B8C63D.8070009@ifsttar.fr> From: Harsh J Date: Tue, 09 Feb 2016 03:26:36 +0000 Message-ID: Subject: Re: hdfs : Change supergroup To: Francis Dupin , "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=001a113f38f82110ab052b4de3d2 --001a113f38f82110ab052b4de3d2 Content-Type: text/plain; charset=UTF-8 Changing the supergroup configuration would not affect the existing group maintained on the file inodes (its persisted since the beginning, not pulled dynamically from config at every restart). You will need to manually fs -chgrp those. On Mon, Feb 8, 2016 at 10:15 PM Francis Dupin wrote: > Dear all, > > Concern Hadoop 2.6.0 > > When I create a file as superuser, the group owner is 99. > > > But I have created a user:group for the superuser : hadoop:hadoop (1003) > and added in hdfs-site.xml : > > > > dfs.permissions.supergroup > hadoop > > The name of the group of super-users > > > > Restarted all ... No change : > Files created are owned by hadoop:99 and in the webUI I can read > "hadoop:supergroup" > > > Any idea ? > > Thank you > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org > For additional commands, e-mail: user-help@hadoop.apache.org > > --001a113f38f82110ab052b4de3d2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Changing the supergroup configuration would not affect the= existing group maintained on the file inodes (its persisted since the begi= nning, not pulled dynamically from config at every restart). You will need = to manually fs -chgrp those.

On Mon, Feb 8, 2016 at 10:15 PM Francis Dupin <francis.dupin@ifsttar.fr> wrote:
Dear all,

Concern Hadoop 2.6.0

When I create a file as superuser, the group owner is 99.


But I have created a user:group for the superuser : hadoop:hadoop (1003) and added in hdfs-site.xml :


<property>
<name>dfs.permissions.supergroup</name>
<value>hadoop</value>
<description>
The name of the group of super-users
</description>
</property>

Restarted all ... No change :
Files created are owned by hadoop:99 and in the webUI I can read
"hadoop:supergroup"


Any idea ?

Thank you



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
For additional commands, e-mail: user-help@hadoop.apache.org

--001a113f38f82110ab052b4de3d2--