From notifications-return-42007-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Fri Feb 9 00:19:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id B158C18064F for ; Fri, 9 Feb 2018 00:19:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A1480160C5E; Thu, 8 Feb 2018 23:19:05 +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 ECD67160C4A for ; Fri, 9 Feb 2018 00:19:04 +0100 (CET) Received: (qmail 4693 invoked by uid 500); 8 Feb 2018 23:19:04 -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 4672 invoked by uid 99); 8 Feb 2018 23:19:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2018 23:19:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 156DDC031C for ; Thu, 8 Feb 2018 23:19:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id V_Gyed7OrMtW for ; Thu, 8 Feb 2018 23:19:02 +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 0CE3D5F3F0 for ; Thu, 8 Feb 2018 23:19:02 +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 3A851E02AC for ; Thu, 8 Feb 2018 23:19:01 +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 6D60724112 for ; Thu, 8 Feb 2018 23:19:00 +0000 (UTC) Date: Thu, 8 Feb 2018 23:19:00 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 6357699#comment-16357699 ]=20 Christopher Tubbs commented on ACCUMULO-4799: --------------------------------------------- We need to introduce the concept of an authenticated "User" object on the s= erver-side that is tied to that specific RPC request. This would be similar= to servlet security context authenticated users which are established afte= r a call to HttpServletRequest.login(). > 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 > 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)