[ 
https://issues.apache.org/jira/browse/RANGER-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17412345#comment-17412345
 ] 

caozhiqiang commented on RANGER-3390:
-------------------------------------

If ES add other resources like shard, we would get the shard value useĀ 
Objects.toString(super.getValue(ElasticsearchResourceMgr.SHARD)) and append it 
to INDEX.

> improve plugin performance for yarn and es by replacing getAsString
> -------------------------------------------------------------------
>
>                 Key: RANGER-3390
>                 URL: https://issues.apache.org/jira/browse/RANGER-3390
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins
>    Affects Versions: 2.0.1
>            Reporter: caozhiqiang
>            Assignee: caozhiqiang
>            Priority: Major
>         Attachments: RANGER-3390-branch-2.0.1.001.patch
>
>
> TheĀ 
> org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.getAsString 
> function take too much time. We should replace it to improve performance for 
> Yarn and ES.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to