Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46CE7775F for ; Fri, 19 Aug 2011 08:10:22 +0000 (UTC) Received: (qmail 79513 invoked by uid 500); 19 Aug 2011 08:10:19 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 78307 invoked by uid 500); 19 Aug 2011 08:10:08 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 78296 invoked by uid 99); 19 Aug 2011 08:10:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 08:10:07 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sonalgoyal4@gmail.com designates 209.85.212.41 as permitted sender) Received: from [209.85.212.41] (HELO mail-vw0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 08:10:00 +0000 Received: by vwm42 with SMTP id 42so3053135vwm.14 for ; Fri, 19 Aug 2011 01:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gKeyR0ax3E9smBMbVWAoBurOgE1apSYL3V6EWFZb6aE=; b=hl+1+OWaBu7Ar7CMSQC+uSLE8kErqRRdxt1YEVCUVcNoX0MBv57gTK67lFGSDTQL2J dierTzw44bV0W/nU/pZ3G2xbKUMgOBO+sR3swLD5ljXmRyE5qG7OBHyGLHUws5ex1zFw T+DkGRF888E7MrmB83fD3NchI0GEYhf4N/veQ= MIME-Version: 1.0 Received: by 10.52.76.195 with SMTP id m3mr1668541vdw.194.1313741379619; Fri, 19 Aug 2011 01:09:39 -0700 (PDT) Received: by 10.52.114.234 with HTTP; Fri, 19 Aug 2011 01:09:39 -0700 (PDT) In-Reply-To: <34E9B7D077A04640BDFB43DF226509C20432D85B@ustrysvpexch23.kih.kmart.com> References: <131ba11ebeb.-2287056564383405346.-1880238791677346234@zohocorp.com> <34E9B7D077A04640BDFB43DF226509C20432D85B@ustrysvpexch23.kih.kmart.com> Date: Fri, 19 Aug 2011 13:39:39 +0530 Message-ID: Subject: Re: Not Starting Hmaster bacause of Permission denied From: Sonal Goyal To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=bcaec501602f424ba904aad740e4 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec501602f424ba904aad740e4 Content-Type: text/plain; charset=ISO-8859-1 Hi Andy, I guess you are using dfs security, in which case your hbase user does not have the permission to create the top level directory /hbase in the dfs. Can you try the following and then start your master? Let us know how it goes. bin/hadoop fs -mkdir /hbase bin/hadoop fs -chown hbase /hbase Best Regards, Sonal Crux: Reporting for HBase Nube Technologies On Fri, Aug 19, 2011 at 1:02 PM, Zhong, Andy wrote: > Hi All, > I am facing an issue to start Hmaster bacause of Permission denied, > although two region servers seem start properly. I will be much > appreciated if any one could help me to figure out the root cause. I > have hadoop running under 'hadoop' user, and Hbase running under 'hbase' > user. Thanks, - Andy Zhong > > > 2011-08-19 01:30:31,205 FATAL master.HMaster - Not starting HMaster > because: > org.apache.hadoop.security.AccessControlException: > org.apache.hadoop.security.AccessControlException: Permission denied: > user=hbase, access=WRITE, inode="":hadoop:supergroup:rwxr-xr-x > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA > ccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons > tructorAccessorImpl.java:27) > at > java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteExcepti > on.java:96) > at > org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteExcept > ion.java:58) > at org.apache.hadoop.hdfs.DFSClient.mkdirs(DFSClient.java:910) > at > org.apache.hadoop.hdfs.DistributedFileSystem.mkdirs(DistributedFileSyste > m.java:262) > at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:1115) > at > org.apache.hadoop.hbase.master.HMaster.(HMaster.java:205) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA > ccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons > tructorAccessorImpl.java:27) > at > java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1241) > at > org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1282) > > This message, including any attachments, is the property of Sears Holdings > Corporation and/or one of its subsidiaries. It is confidential and may > contain proprietary or legally privileged information. If you are not the > intended recipient, please delete it without reading the contents. Thank > you. > --bcaec501602f424ba904aad740e4--