Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 BEDBC17730 for ; Sun, 1 Mar 2015 20:36:59 +0000 (UTC) Received: (qmail 29328 invoked by uid 500); 1 Mar 2015 20:36:53 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 29162 invoked by uid 500); 1 Mar 2015 20:36:53 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 29152 invoked by uid 99); 1 Mar 2015 20:36:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Mar 2015 20:36:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=AC_DIV_BONANZA,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of patterd@gmail.com designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Mar 2015 20:36:28 +0000 Received: by lbvp9 with SMTP id p9so3394001lbv.8 for ; Sun, 01 Mar 2015 12:36:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+NAsYQLyjdKcvtrQdOfnoPnJ0pFVBdDWrOsXIDSljNQ=; b=XJ2s86YNZt3vOPIs7QWdJ6BlNfBVdIGyxXRu81d9y/nHyXuTAF1ek8HwQyUPTfdp1o TAtnk52CmPzbwpAo+YTmHo91GwIehcQcjmWDRnHVPT73b2ne5lw0SgQjylnAFwbLj1Lh eydmT41Rl/z/xhu0CeGTJuUviMihchHd6J3LRTRzs1SMsIBRk9llzbR7CcHKVk5V89ib W2DofR7l86mDZQC9swfLoDI0JHoOWU0FNpnP4nC+l7WKamKt11OfDR9ouAivq1fUQDm4 YCZyRMLaE1C1ZK6OtNgOu+ICR+0vYHD1ojgEfsJVdmFcMq8ffr4oOV16B/WZIb8dvzDg mYeA== MIME-Version: 1.0 X-Received: by 10.152.20.131 with SMTP id n3mr20881877lae.120.1425242186571; Sun, 01 Mar 2015 12:36:26 -0800 (PST) Received: by 10.112.142.195 with HTTP; Sun, 1 Mar 2015 12:36:26 -0800 (PST) Date: Sun, 1 Mar 2015 15:36:26 -0500 Message-ID: Subject: Permission Denied From: David Patterson To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0149413c3fe2e60510400e05 X-Virus-Checked: Checked by ClamAV on apache.org --089e0149413c3fe2e60510400e05 Content-Type: text/plain; charset=UTF-8 I'm trying to create an Accumulo/Hadoop/Zookeeper configuration on a single (Ubuntu) machine, with Hadoop 2.6.0, Zookeeper 3.4.6 and Accumulo 1.6.1. I've got 3 userids for these components that are in the same group and no other users are in that group. I have zookeeper running, and hadoop as well. Hadoop's core-site.xml file has the hadoop.tmp.dir set to /app/hadoop/tmp.The /app/hadoop/tmp directory is owned by the hadoop user and has permissions that allow other members of the group to write (drwxrwxr-x). When I try to initialize Accumulo, with bin/accumulo init, I get FATAL: Failed to initialize filesystem. org.apache.hadoop.security.AccessControlException: Permission denied: user=accumulo, access=WRITE, inode="/":hadoop:supergroup:drwxr-xr-x So, my main question is which directory do I need to give group-write permission so the accumulo user can write as needed so it can initialize? The second problem is that the Accumulo init reports [Configuration.deprecation] INFO : fs.default.name is deprecated. Instead use fs.defaultFS. However, the hadoop core-site.xml file contains: fs.defaultFS hdfs://localhost:9000 Is there somewhere else that this value (fs.default.name) is specified? Could it be due to Accumulo having a default value and not getting the override from hadoop because of the problem listed above? Thanks Dave Patterson patterd@gmail.com --089e0149413c3fe2e60510400e05 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm trying to create an Accumulo/Hadoop/Zookeeper configuration on a = single (Ubuntu) machine, with Hadoop 2.6.0, Zookeeper 3.4.6 and Accumulo 1.= 6.1.

I've got 3 userids for these components that are in = the same group and no other users are in that group.

I have zo= okeeper running, and hadoop as well.

Hadoop's core-site.xm= l file has the hadoop.tmp.dir set to /app/hadoop/tmp.The /app/hadoop/tmp di= rectory is owned by the hadoop user and has permissions that allow other me= mbers of the group to write (drwxrwxr-x).

When I try to = initialize Accumulo, with bin/accumulo init, I get FATAL: Failed to initial= ize filesystem.
org.apache.hadoop.security.AccessControlException:= Permission denied: user=3Daccumulo, access=3DWRITE, inode=3D"/":= hadoop:supergroup:drwxr-xr-x

So, my main question is which dir= ectory do I need to give group-write permission so the accumulo user can wr= ite as needed so it can initialize?

The second problem is that= the Accumulo init reports [Configuration.deprecation] INFO : fs.default.name is deprecated. Instead use fs.def= aultFS. However, the hadoop core-site.xml file contains:
=C2=A0=C2=A0=C2= =A0 <name>fs.defaultFS</name>
=C2=A0=C2=A0=C2=A0 <value&g= t;hdfs://localhost:9000</value>

Is there somewhere else = that this value (fs.default.name) is= specified? Could it be due to Accumulo having a default value and not gett= ing the override from hadoop because of the problem listed above?

Thanks

Dave Patterson
patterd@gmail.com
--089e0149413c3fe2e60510400e05--