[ https://issues.apache.org/jira/browse/PHOENIX-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16255296#comment-16255296 ]
Duo Zhang commented on PHOENIX-4318: ------------------------------------ In fact StoreScanner and StoreFileReader are both expected to be private. The only reason we keep some CP hooks and classes as IA.LimitPrivate(Phoenix) is, only phoenix uses them... Is there any design doc for the local index of phoenix? We've also built local secondary index in our system, with common prefix it is very easy to make the local index always in the same region with the actual data. So I'm curious that why local index can not be split properly? 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)