phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoffrey Jacoby (JIRA)" <>
Subject [jira] [Resolved] (PHOENIX-4025) Make CachingHTableFactory thread-safe for 0.98 branch
Date Fri, 14 Jul 2017 20:28:00 GMT


Geoffrey Jacoby resolved PHOENIX-4025.
    Resolution: Won't Fix

Consensus seems to be that PHOENIX-4021 can cover 0.98-based Phoenix branches as well. 

> Make CachingHTableFactory thread-safe for 0.98 branch
> -----------------------------------------------------
>                 Key: PHOENIX-4025
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.11.0
>            Reporter: Geoffrey Jacoby
>            Assignee: Geoffrey Jacoby
>             Fix For: 4.12.0
> CachingHTableFactory, which is used in global index writes, isn't thread-safe (see discussion
in PHOENIX-4021) and will be removed in the master and 4.x-HBase-1.x branches. However, according
to PHOENIX-3159 it's still needed in HBase 0.98-based Phoenix because creating HTables is
still heavy-weight in 0.98. 
> This means it needs to be made thread-safe. Current plan is when an HTable's requested,
check the reference count (which is already tracked for cleanup purposes) and if the count
is 1, create a new HTable. We'll cache lists of identical HTables per HBase table, rather
than 1 HTable per HBase table. 

This message was sent by Atlassian JIRA

View raw message