phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4318) Fix IndexHalfStoreFileReader and related classes
Date Sat, 18 Nov 2017 06:26:00 GMT

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

Duo Zhang commented on PHOENIX-4318:
------------------------------------

{quote}
https://www.slideshare.net/rajeshbabuchintaguntla/local-secondary-indexes-in-apache-phoenix
{quote}

OK, I know the problem. Actually I would not define this as 'local' secondary index, for users
it just acts like a global secondary index. The local secondary index which I mentioned above,
is the index within the data with common prefix. For example, index within the data of a user,
uid will be the common prefix of the rowkey of all data. And with KeyPrefixSplitPolicy, we
can make sure that the index will always be in the same region with the actual data, even
after split.

Let me think how to better implement your logic in HBase.

Thanks.

> Fix IndexHalfStoreFileReader and related classes
> ------------------------------------------------
>
>                 Key: PHOENIX-4318
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4318
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Ankit Singhal
>            Assignee: Rajeshbabu Chintaguntla
>              Labels: HBase-2.0
>             Fix For: 4.14.0
>
>         Attachments: PHOENIX-4318_v2.patch, PHOENIX-4318_v3.patch, PHOENIX-4318_wip.patch,
PHOENIX-4318_wip3.patch
>
>
> These classes use the internals of HBase.(And most of them are not accessible in HBase
2.0)
> phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/LocalIndexStoreFileScanner.java
> phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReader.java
> phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexHalfStoreFileReaderGenerator.java
> phoenix-core/src/main/java/org/apache/phoenix/coprocessor/DelegateRegionScanner.java
> phoenix-core/src/main/java/org/apache/phoenix/util/IndexUtil.java
> phoenix-core/src/main/java/org/apache/phoenix/coprocessor/DelegateRegionObserver.java



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message