[
https://issues.apache.org/jira/browse/PHOENIX-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957488#comment-16957488
]
Chinmay Kulkarni commented on PHOENIX-5103:
-------------------------------------------
[~larsh] [~tdsilva] I think I have a fix, but wanted to confirm 1 thing. In
4.15.0 server, we use the SYSTEM.TASK table to [drop child
views|https://github.com/apache/phoenix/blob/4.x-HBase-1.3/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java#L2313]
(eventually).
With the scenario above, the task table would not be present. I guess prior to
[PHOENIX-4764|https://issues.apache.org/jira/browse/PHOENIX-4764], we were just
keeping the child views around and during resolution of the view, if the parent
base table is dropped, throw a {{TableNotFoundException}} and do the cleanup of
child view metadata only if we try to recreate a table that was previously
dropped. Can we fallback to this logic for the case of older clients?
FYI [~kozdemir]
> Can't create/drop table using 4.14 client against 4.15 server
> -------------------------------------------------------------
>
> Key: PHOENIX-5103
> URL: https://issues.apache.org/jira/browse/PHOENIX-5103
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.15.0
> Reporter: Vincent Poon
> Assignee: Chinmay Kulkarni
> Priority: Blocker
> Fix For: 4.15.0, 5.1.0
>
> Attachments: PHOENIX-5103-4.x-HBase-1.3.patch,
> PHOENIX-5103-master.patch
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> server is running 4.15 commit e3280f
> Connect with 4.14.1 client. Create table gives this:
> Caused by:
> org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.TableNotFoundException):
> org.apache.hadoop.hbase.TableNotFoundException: Table 'SYSTEM:CHILD_LINK'
> was not found, got: SYSTEM:CATALOG.
> at
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1362)
> at
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1230)
> at
> org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(CoprocessorHConnection.java:41)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)