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 C4F07200B11 for ; Mon, 13 Jun 2016 16:12:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C3829160A3C; Mon, 13 Jun 2016 14:12:53 +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 154DC160A1A for ; Mon, 13 Jun 2016 16:12:52 +0200 (CEST) Received: (qmail 89234 invoked by uid 500); 13 Jun 2016 14:12:51 -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 89220 invoked by uid 99); 13 Jun 2016 14:12:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2016 14:12:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E72691A03E2 for ; Mon, 13 Jun 2016 14:12:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id W51uwse6h2RW for ; Mon, 13 Jun 2016 14:12:46 +0000 (UTC) Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.161.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 169405F3F1 for ; Mon, 13 Jun 2016 14:12:46 +0000 (UTC) Received: by mail-yw0-f175.google.com with SMTP id c72so126346009ywb.1 for ; Mon, 13 Jun 2016 07:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=crzc91JvE/qzuH1SJAyF3Py2JBtNCl9pOQ/q5XDQKCA=; b=yOsvFpNct3LfpQvRvXjgcDMQjCNfeALfjPna+tLY3Sp2u7yWYMPZRWUxksOI7M0q8t 59dJnlgLTSIkRVaCWL/WteK+NR/0cIR/8iGE/lvWI99HyqSgx3AqmNftd2iBPpRfjaP/ rY0asA+ozxBYcE/zs3usl/Ra/brTJU/Q0X4uUJ7/CB5+wUQ4kXQGFtuDv86bP+sKsVvE O8zt66wGfS0K354x9CZeN63t7kSkv7TRcjWpBPUPva98bpNGlRyHXvPQLcPpDzF5XgAp QElQZ4aEUDxZuCYKsAi1F8AgK9FHCMfIPlBUOYNK+cDbhPMqnOSPRv/v+EGCP+Axb0Qa PVfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=crzc91JvE/qzuH1SJAyF3Py2JBtNCl9pOQ/q5XDQKCA=; b=amoKp8PrrB1BtF1Ax6sq0JKo8HQadbFUty5L4E5DqF5C92IETe0lD+AIDkOgk44V1H mNZBYd7tza79Ybnb74OkhCsgrOHpFZl2aviIYnPfTMT3Rlrul7jUIsLPqklxQ5yJMonB jvlcbCaeuTFX8jWygm6YA1WlMLoQhk7epoAJDcqV4SwB5wYpB1pSPuvJbgtyuI20EOjZ A19YYTOSfVFYh5E9wishkldt5aJWCxsuNKAGvczVxQSmCxl2IHscqO6PKUM1HymQT/9r +GTG9krmgPODMh560KDfaJHoFofyegmeOSexB+3Zp+c1aOeScrYD4UmKIyq6OZcVPrLw xVKw== X-Gm-Message-State: ALyK8tLUHV8QF7FCroR8afnR8VmoCsIT2Jmma7OdhRW5gy3DltQTpbPavmZlM/IMgA82M2Miulz1dxB9CQj/HA== X-Received: by 10.37.216.194 with SMTP id p185mr8179141ybg.74.1465827164657; Mon, 13 Jun 2016 07:12:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.37.151 with HTTP; Mon, 13 Jun 2016 07:12:44 -0700 (PDT) In-Reply-To: References: From: Ted Yu Date: Mon, 13 Jun 2016 07:12:44 -0700 Message-ID: Subject: Re: HBase acl commands are too slow To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=94eb2c032eb073beee0535297b41 archived-at: Mon, 13 Jun 2016 14:12:54 -0000 --94eb2c032eb073beee0535297b41 Content-Type: text/plain; charset=UTF-8 Can you inspect master log for the corresponding 40 seconds to see if there was some clue ? Feel free to pastebin the log snippet for this period if you cannot determine the cause. Cheers On Sun, Jun 12, 2016 at 10:19 PM, kumar r wrote: > Hi, > > I have configured secure HBase-1.1.3. Hadoop version using 2.7.2. > > I have enabled authorization in HBase. > > When executing any authorization command like user_permission, grant, > revoke, > etc. > > Its getting more than 40 seconds to display the result. > > Below are hbase-site.xml configuration properties > > > > hbase.master > IP:60000 > > > hbase.rootdir > hdfs://IP:9000/HBase > > > hbase.cluster.distributed > true > > > hbase.zookeeper.quorum > IP1:2181,IP2:2181,IP3:2181 > > > hbase.master.port > 60000 > > > hbase.master.info.port > 60010 > > > hbase.regionserver.port > 60020 > > > hbase.regionserver.info.port > 60030 > > > hbase.security.authentication > KERBEROS > > > hbase.master.keytab.file > masterkeytab > > > hbase.regionserver.keytab.file > regionserverkeytab > > > hbase.master.kerberos.principal > masterprincipal > > > hbase.regionserver.kerberos.principal > regionserverprincipal > > > hbase.rpc.engine > org.apache.hadoop.hbase.ipc.SecureRpcEngine > > > hbase.ssl.enabled > true > > > hbase.superuser > @HadoopUser > > > hbase.security.authorization > true > > > hbase.coprocessor.master.classes > org.apache.hadoop.hbase.security.access.AccessController > > > hbase.coprocessor.region.classes > > org.apache.hadoop.hbase.security.token.TokenProvider,org.apache.hadoop.hbase.security.access.AccessController > > > Find my stack overflow question here > http://stackoverflow.com/questions/37782043/hbase-acl-commands-are-too-slow > > Thanks, > > Kumar > --94eb2c032eb073beee0535297b41--