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

Hudson commented on PHOENIX-3203:
---------------------------------

SUCCESS: Integrated in Jenkins build Phoenix-master #1371 (See 
[https://builds.apache.org/job/Phoenix-master/1371/])
PHOENIX-3203 Tenant cache lookup in Global Cache fails in certain (tdsilva: rev 
64cb9b0130188b1407093b8bc62447bd2ecf0d3c)
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/GroupedAggregateRegionObserver.java
* (edit) 
phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/util/ScanUtil.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/HashJoinRegionScanner.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/GroupByCache.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/ScanRegionObserver.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/cache/aggcache/SpillableGroupByCache.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/index/PhoenixIndexMetaData.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/cache/GlobalCache.java


> Tenant cache lookup in Global Cache fails in certain conditions
> ---------------------------------------------------------------
>
>                 Key: PHOENIX-3203
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3203
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.7.0
>            Reporter: Thomas D'Silva
>            Assignee: Thomas D'Silva
>             Fix For: 4.9.0, 4.8.1
>
>         Attachments: PHOENIX-3203-v2.patch, PHOENIX-3203.patch
>
>
> In ServerCachingEndpointImpl.addServerCache we look up the tenant cache using 
> an ImmutableBytesPtr instead of  ImmutableBytesWritable
> {code}
> ImmutableBytesPtr tenantId = null;
>     if (request.hasTenantId()) {
>       tenantId = new ImmutableBytesPtr(request.getTenantId().toByteArray());
>     }
>     TenantCache tenantCache = GlobalCache.getTenantCache(this.env, tenantId);
> {code}
> this causes the TenantCache to not be found when we look it up later using an 
> ImmutableBytesWritable.



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

Reply via email to