[ https://issues.apache.org/jira/browse/PHOENIX-3097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15388169#comment-15388169 ]
ASF GitHub Bot commented on PHOENIX-3097: ----------------------------------------- Github user JamesRTaylor commented on the issue: https://github.com/apache/phoenix/pull/185 I confirmed offline with @apurtell that the User.runAsLoginUser() changes are fine, so I'm +1 on these changes. Will get this committed shortly unless anyone has objections. > Incompatibilities with HBase 0.98.6 > ----------------------------------- > > Key: PHOENIX-3097 > URL: https://issues.apache.org/jira/browse/PHOENIX-3097 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.7.0 > Reporter: Tongzhou Wang > Assignee: Tongzhou Wang > Fix For: 4.8.0 > > > Two places in the 0.98 code base are not compatible with HBase 0.98.6. > 1. calls to `RegionCoprocessorEnvironment.getRegionInfo()`. Can be replaced > by `env.getRegion().getRegionInfo()`. > 2. calls to `User.runAsLoginUser()`. Can be replaced by `try > {UserGroupInformation.getLoginUser().doAs(xxxx)} catch ...` -- This message was sent by Atlassian JIRA (v6.3.4#6332)