You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "taro siwa (JIRA)" <ji...@apache.org> on 2019/01/08 02:10:02 UTC

[jira] [Updated] (ACCUMULO-4799) In tablet server start scan authenticates twice

     [ https://issues.apache.org/jira/browse/ACCUMULO-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

taro siwa updated ACCUMULO-4799:
--------------------------------

a

> 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
>            Assignee: Keith Turner
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.9.0, 2.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The code that handles a start scan RPC call checks authentication twice.  Each call to authenticate takes a bit of time.  It would be nice 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.java#L479] a call to canScan is made which calls authenticate.  Then at [TabletServer line 482|https://github.com/apache/accumulo/blob/rel/1.8.1/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java#L482] a call to check authorizations is made which also authenticates.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)