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 6581A105A5 for ; Thu, 10 Apr 2014 00:43:58 +0000 (UTC) Received: (qmail 68120 invoked by uid 500); 10 Apr 2014 00:43:55 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 67997 invoked by uid 500); 10 Apr 2014 00:43:54 -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 67989 invoked by uid 99); 10 Apr 2014 00:43:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 00:43:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.213.46 as permitted sender) Received: from [209.85.213.46] (HELO mail-yh0-f46.google.com) (209.85.213.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 00:43:50 +0000 Received: by mail-yh0-f46.google.com with SMTP id b6so3183593yha.5 for ; Wed, 09 Apr 2014 17:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=s1iFPl92j9EUhR3lz8N89/vqwA63fed64ZVQ3Scr1sI=; b=cVhTFF1odctJF04ewRo0kUrpITmRsiBeLh1mv4cUD1bfNpzdTGjvr7MobaJRfBBeWi XvkLwIg/v0dNg+R8zRsBi9x+5hSaKTnn4M2r/4VZAwt2lp86ggrT9a8YX5HDZ/qwpxVn I1wuSvnWmrM6U1Qf58IDIAY52abVZvg5y+xVQQSBu+u0v2t79UPLULqS/cJ64yXf4/iQ bNQH91cdpM9vrWMfyUeI9GAcBgJ78h7rc0RI6kzDCtmaPTPoATqTYSreJ+i9TSVWNd8C nksicPjJKs9DI1qF7vhI19VG7J3XpAJQdkLOamXJCO3J8Bi/6MEHERc4MjIAzPS06oy/ Pc5A== MIME-Version: 1.0 X-Received: by 10.236.220.72 with SMTP id n68mr18778290yhp.102.1397090609214; Wed, 09 Apr 2014 17:43:29 -0700 (PDT) Received: by 10.170.79.130 with HTTP; Wed, 9 Apr 2014 17:43:29 -0700 (PDT) In-Reply-To: <99DD75DC8938B743BBBC2CA54F7224A72F0C8490@NYSGMBXB06.a.wcmc-ad.net> References: <99DD75DC8938B743BBBC2CA54F7224A72F0C8147@NYSGMBXB06.a.wcmc-ad.net> <99DD75DC8938B743BBBC2CA54F7224A72F0C8490@NYSGMBXB06.a.wcmc-ad.net> Date: Wed, 9 Apr 2014 18:43:29 -0600 Message-ID: Subject: Re: restore snapshot on another cluster From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11c2bada7b386104f6a581d0 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2bada7b386104f6a581d0 Content-Type: text/plain; charset=ISO-8859-1 You can either give user hbase write access to /apps, or use another directory where user hbase can write to. Cheers On Wed, Apr 9, 2014 at 6:28 PM, Artem Ervits wrote: > 2014-03-21 11:35:36,998 FATAL [master:server:60000] master.HMaster: > Unhandled exception. Starting shutdown. > org.apache.hadoop.security.AccessControlException: Permission denied: > user=hbase, access=WRITE, inode="/apps":hdfs:hdfs:drwxr-xr-x > at > org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:234) > at > org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:214) > at > org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:158) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:5202) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:5184) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkAncestorAccess(FSNamesystem.java:5158) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:3405) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInt(FSNamesystem.java:3375) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:3349) > at > org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:724) > at > org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:502) > at > org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:59598) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:928) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2053) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2049) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2047) > > -----Original Message----- > From: Artem Ervits > Sent: Wednesday, April 09, 2014 5:58 PM > To: 'user@hbase.apache.org' > Subject: Re: restore snapshot on another cluster > > I read it thanks. I'm getting privilege access exception hbase user on > write permission. I don't have the exception handy. I will supply it > shortly. I'm using 0.96.1.1 on hadoop 2. > > > Artem Ervits > Data Analyst > New York Presbyterian Hospital > > ----- Original Message ----- > From: Ted Yu [mailto:yuzhihong@gmail.com] > Sent: Wednesday, April 09, 2014 05:48 PM > To: user@hbase.apache.org > Subject: Re: restore snapshot on another cluster > > Can you give us some more detail such as: > > the HBase release you're using > the stack trace of permission error > > I assume you have read 15.8.7 and 15.8.8 of: > http://hbase.apache.org/book.html#ops.snapshots > > Cheers > > > On Wed, Apr 9, 2014 at 3:08 PM, Artem Ervits wrote: > > > Hello all, > > > > When I take a snapshot on cluster 1, copy it to cluster 2 using > > ExportSnapshot utility, what permissions should I set on the snapshot > > to be able to clone it into a new table? I matched the permissions of > > the external snapshot to the permissions of any local snapshots on > > cluster 2 and still get hbase user write permission errors. Am I missing > something? > > > > Thanks > > > > ________________________________ > > > > This electronic message is intended to be for the use only of the > > named recipient, and may contain information that is confidential or > privileged. > > If you are not the intended recipient, you are hereby notified that > > any disclosure, copying, distribution or use of the contents of this > > message is strictly prohibited. If you have received this message in > > error or are not the named recipient, please notify us immediately by > > contacting the sender at the electronic mail address noted above, and > > delete and destroy all copies of this message. Thank you. > > > > This electronic message is intended to be for the use only of the > > named recipient, and may contain information that is confidential or > privileged. > > If you are not the intended recipient, you are hereby notified that > > any disclosure, copying, distribution or use of the contents of this > > message is strictly prohibited. If you have received this message in > > error or are not the named recipient, please notify us immediately by > > contacting the sender at the electronic mail address noted above, and > > delete and destroy all copies of this message. Thank you. > > ________________________________ > > This electronic message is intended to be for the use only of the named > recipient, and may contain information that is confidential or privileged. > If you are not the intended recipient, you are hereby notified that any > disclosure, copying, distribution or use of the contents of this message is > strictly prohibited. If you have received this message in error or are not > the named recipient, please notify us immediately by contacting the sender > at the electronic mail address noted above, and delete and destroy all > copies of this message. Thank you. > > This electronic message is intended to be for the use only of the named > recipient, and may contain information that is confidential or privileged. > If you are not the intended recipient, you are hereby notified that any > disclosure, copying, distribution or use of the contents of this message is > strictly prohibited. If you have received this message in error or are not > the named recipient, please notify us immediately by contacting the sender > at the electronic mail address noted above, and delete and destroy all > copies of this message. Thank you. > --001a11c2bada7b386104f6a581d0--