You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2016/11/09 11:19:58 UTC

[jira] [Commented] (HBASE-17054) Compactor#preCreateCoprocScanner should be passed user

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

Anoop Sam John commented on HBASE-17054:
----------------------------------------

Thanks Ted. Looks good..   So we should be passing user in all CP hooks so that it will be available in Context? Any others also missing it?

> Compactor#preCreateCoprocScanner should be passed user
> ------------------------------------------------------
>
>                 Key: HBASE-17054
>                 URL: https://issues.apache.org/jira/browse/HBASE-17054
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 17054.v1.txt
>
>
> As Anoop mentioned at the end of HBASE-16962:
> {code}
>       ScanType scanType = scannerFactory.getScanType(request);
>       scanner = preCreateCoprocScanner(request, scanType, fd.earliestPutTs, scanners);
> {code}
> user should be passed to preCreateCoprocScanner().
> Otherwise null User would be used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)