You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Tongzhou Wang (JIRA)" <ji...@apache.org> on 2016/07/19 07:20:20 UTC

[jira] [Commented] (PHOENIX-3097) Incompatibilities with HBase 0.98.6

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

Tongzhou Wang commented on PHOENIX-3097:
----------------------------------------

Hi all, 

this seems an easy fix to me. Does my proposed fix work? If it looks good, I would like to implement. 

Thanks,
Tongzhou

> 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
>
> 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)