From notifications-return-42175-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Wed Feb 14 21:31:03 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 27F78180621 for ; Wed, 14 Feb 2018 21:31:02 +0100 (CET) Received: (qmail 94430 invoked by uid 500); 14 Feb 2018 20:31:02 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 94419 invoked by uid 99); 14 Feb 2018 20:31:02 -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; Wed, 14 Feb 2018 20:31:02 +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 B60401A0449 for ; Wed, 14 Feb 2018 20:31:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id M8nVfTGYbzBK for ; Wed, 14 Feb 2018 20:31:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BD6565F126 for ; Wed, 14 Feb 2018 20:31:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4F235E00D5 for ; Wed, 14 Feb 2018 20:31:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 14471240F2 for ; Wed, 14 Feb 2018 20:31:00 +0000 (UTC) Date: Wed, 14 Feb 2018 20:31:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-4799) In tablet server start scan authenticates twice MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-4799?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated ACCUMULO-4799: ------------------------------------- Labels: pull-request-available (was: ) > In tablet server start scan authenticates twice > ----------------------------------------------- > > Key: ACCUMULO-4799 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4799 > Project: Accumulo > Issue Type: Improvement > Affects Versions: 1.7.3, 1.8.1 > Reporter: Keith Turner > Priority: Major > Labels: pull-request-available > Fix For: 1.9.0, 2.0.0 > > > The code that handles a start scan RPC call checks authentication twice.= =C2=A0 Each call to authenticate takes a bit of time.=C2=A0 It would be nic= e if it only did it once. > At [TabletServer line 479|https://github.com/apache/accumulo/blob/rel/1.8= .1/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.ja= va#L479]=C2=A0a call to canScan is made which calls authenticate.=C2=A0 The= n at [TabletServer line 482|https://github.com/apache/accumulo/blob/rel/1.8= .1/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.ja= va#L482]=C2=A0a call to check authorizations is made which also authenticat= es.=C2=A0=C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)