[
https://issues.apache.org/jira/browse/HBASE-17884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826655#comment-16826655
]
Lars Hofhansl commented on HBASE-17884:
---------------------------------------
This is probably another case where Phoenix reaches too deep into HBase.
This is where it fails:
{code}
private static abstract class CoprocessorOperation<T extends
CoprocessorEnvironment> extends ObserverContext<T> {
abstract void call(MetaDataEndpointObserver oserver, ObserverContext<T>
ctx) throws IOException;
public void postEnvCall(T env) {}
}
{code}
Could probably add a no-argument constructor there.
> Backport HBASE-16217 to branch-1
> --------------------------------
>
> Key: HBASE-17884
> URL: https://issues.apache.org/jira/browse/HBASE-17884
> Project: HBase
> Issue Type: Sub-task
> Components: Coprocessors, security
> Reporter: Gary Helmling
> Assignee: Gary Helmling
> Priority: Major
> Fix For: 1.5.0, 1.4.10
>
> Attachments: HBASE-17884-branch-1.patch, HBASE-17884-branch-1.patch,
> HBASE-17884.branch-1.001.patch
>
>
> The change to add calling user to ObserverContext in HBASE-16217 should also
> be applied to branch-1 to avoid use of UserGroupInformation.doAs() for access
> control checks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)