Thanks for finding the backwards compatibility issues Vincent. I also see a similar NPE when creating a view on top of a table with a 4.14 client. I will re-open PHOENIX-5103 to solve the issue with dropping tables.
Opened PHOENIX-5533 <https://issues.apache.org/jira/browse/PHOENIX-5533> and re-opened PHOENIX-5103 <https://issues.apache.org/jira/browse/PHOENIX-5103> which are blockers, so -1 on RC0. I will commit the fixes and spin up a new RC. On Fri, Oct 18, 2019 at 4:48 PM Vincent Poon <vincentp...@apache.org> wrote: > Yea, I should have mentioned: > This was built from source on the 1.3 branch, using the hash Chinmay > provided: d41cc > This was before any 4.15 client connected (i.e. metadata was not upgraded) > So, this is a backwards compatibility issue. > > On Fri, Oct 18, 2019 at 4:25 PM la...@apache.org <la...@apache.org> wrote: > > > Did you use one of the provided tarballs (in that case, which one)? Or > > build from source (in that case, which branch?). > > Also was that before or after the first 4.15 client connected with the > > cluster (i.e. was the meta data upgraded or not)? > > That would be a blocker, indeed. :( > > -- Lars > > On Friday, October 18, 2019, 04:09:11 PM PDT, Vincent Poon < > > vincentp...@apache.org> wrote: > > > > I'm also not able to create an index with the older client: > > > > 2019-10-18 16:06:26,569 ERROR > > [RpcServer.FifoWFPBQ.default.handler=255,queue=21,port=16201] > > coprocessor.MetaDataEndpointImpl: createTable failed > > java.lang.NullPointerException > > at > > > > > org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(MetaDataEndpointImpl.java:1758) > > at > > > > > org.apache.phoenix.coprocessor.generated.MetaDataProtos$MetaDataService.callMethod(MetaDataProtos.java:17218) > > at > > > org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:8270) > > at > > > > > org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:2207) > > at > > > > > org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:2189) > > at > > > > > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:35076) > > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2373) > > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124) > > at > > org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:188) > > at > > org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:168) > > > > On Fri, Oct 18, 2019 at 3:21 PM Vincent Poon <vincentp...@apache.org> > > wrote: > > > > > -1 > > > I still see PHOENIX-5103 still cropping up for "DROP TABLE" when using > > the > > > 4.14 client against 4.15 server. However, it seems "CREATE TABLE" > works > > > fine. > > > > > > Caused by: 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:1323) > > > at > > > > > > org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1195) > > > at > > > > > > org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(CoprocessorHConnection.java:41) > > > at > > > > > > org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(RpcRetryingCallerWithReadReplicas.java:303) > > > at > > > > > > org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:156) > > > at > > > > > > org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:60) > > > at > > > > > > org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:212) > > > at > > > > org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:314) > > > at > > > > > > org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:289) > > > at > > > > > > org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:164) > > > at > > > > > > org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:159) > > > at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:803) > > > at > > > > > > org.apache.hadoop.hbase.client.HTableWrapper.getScanner(HTableWrapper.java:235) > > > at org.apache.phoenix.util.ViewUtil.hasChildViews(ViewUtil.java:163) > > > at > > > > > > org.apache.phoenix.coprocessor.MetaDataEndpointImpl.doDropTable(MetaDataEndpointImpl.java:2303) > > > at > > > > > > org.apache.phoenix.coprocessor.MetaDataEndpointImpl.dropTable(MetaDataEndpointImpl.java:2153) > > > > > > > > > On Fri, Oct 18, 2019 at 2:36 PM Chinmay Kulkarni < > > > chinmayskulka...@gmail.com> wrote: > > > > > >> *REMINDER - [VOTE] Release of Apache Phoenix 4.15.0 RC0* > > >> > > >> Just sending out a friendly reminder to everyone to please vote on > > Apache > > >> Phoenix 4.15.0 RC0 (thanks Lars). > > >> > > >> On Thu, Oct 17, 2019 at 3:28 PM la...@apache.org <la...@apache.org> > > >> wrote: > > >> > > >> > +1 (binding) > > >> > - Built from source > > >> > - Went through a simple 4.14 to 4.15 upgrade- Loaded a few dozens of > > >> > millions of rows.- Tried global and local indexes.- Tried HBase > 1.5.0- > > >> > Nothing weird in the logs. > > >> > Looks good. > > >> > On a related note: I'd really love us to go back to a monthly > release > > >> > train. That would lead to smaller and more stable releases.Let's > > >> schedule > > >> > 4.15.1 (and perhaps 5.1.1...?) in a month from now. (If Chinmay is > > >> tired of > > >> > it, I'll volunteer to be RM :)) > > >> > > > >> > -- Lars > > >> > > > >> > On Thursday, October 17, 2019, 3:05:32 PM PDT, Chinmay Kulkarni < > > >> > chinmayskulka...@gmail.com> wrote: > > >> > > > >> > Hello Everyone, > > >> > > > >> > This is a call for a vote on Apache Phoenix 4.15.0 RC0. This is the > > next > > >> > minor release of Phoenix 4, compatible with Apache HBase 1.3, 1.4, & > > >> > 1.5. The release includes both a source-only release and a > convenience > > >> > binary release for each supported HBase version. > > >> > > > >> > This release has feature parity with supported HBase versions and > > >> includes > > >> > the following improvements: > > >> > - Support for multi-region SYSTEM.CATALOG > > >> > - Omid integration with Phoenix > > >> > - Orphan view tool > > >> > - Separation of the Phoenix-Connectors and Phoenix-Queryserver > > projects > > >> > - 150+ bug fixes > > >> > and much more > > >> > > > >> > The source tarball, including signatures, digests, etc can be found > > at: > > >> > > > >> > > > >> > > > https://dist.apache.org/repos/dist/dev/phoenix/apache-phoenix-4.15.0-HBase-1.3-rc0/src/ > > >> > > > >> > > > >> > > > https://dist.apache.org/repos/dist/dev/phoenix/apache-phoenix-4.15.0-HBase-1.4-rc0/src/ > > >> > > > >> > > > >> > > > https://dist.apache.org/repos/dist/dev/phoenix/apache-phoenix-4.15.0-HBase-1.5-rc0/src/ > > >> > > > >> > The binary artifacts can be found at: > > >> > > > >> > > > >> > > > https://dist.apache.org/repos/dist/dev/phoenix/apache-phoenix-4.15.0-HBase-1.3-rc0/bin/ > > >> > > > >> > > > >> > > > https://dist.apache.org/repos/dist/dev/phoenix/apache-phoenix-4.15.0-HBase-1.4-rc0/bin/ > > >> > > > >> > > > >> > > > https://dist.apache.org/repos/dist/dev/phoenix/apache-phoenix-4.15.0-HBase-1.5-rc0/bin/ > > >> > > > >> > For a complete list of changes, see: > > >> > > > >> > > > >> > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315120&version=12343162 > > >> > > > >> > Artifacts are signed with my "CODE SIGNING KEY": > > >> > 7C5FC713DE4C59D7 > > >> > > > >> > KEYS file available here: > > >> > https://dist.apache.org/repos/dist/dev/phoenix/KEYS > > >> > > > >> > The hash and tag to be voted upon: > > >> > > > >> > > > >> > > > https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commit;h=d41cc51d0b593bba4bc70b6edc95afb807fe8899 > > >> > > > >> > > > >> > > > https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=tag;h=refs/tags/v4.15.0-HBase-1.3-rc0 > > >> > > > >> > > > >> > > > >> > > > https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commit;h=403607fa969d9cc760572f065e0b41027c8d584c > > >> > > > >> > > > >> > > > https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=tag;h=refs/tags/v4.15.0-HBase-1.4-rc0 > > >> > > > >> > > > >> > > > >> > > > https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commit;h=c533eed363aedfdb3fb774d6ff510b287a9660ad > > >> > > > >> > > > >> > > > https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=tag;h=refs/tags/v4.15.0-HBase-1.5-rc0 > > >> > > > >> > Vote will be open for at least 72 hours. Please vote: > > >> > > > >> > [ ] +1 approve > > >> > [ ] +0 no opinion > > >> > [ ] -1 disapprove (and reason why) > > >> > > > >> > Thanks, > > >> > The Apache Phoenix Team > > >> > -- > > >> > Chinmay Kulkarni > > >> > > > >> > > >> > > >> > > >> -- > > >> Chinmay Kulkarni > > >> > > > > > > -- Chinmay Kulkarni