This is an automated email from the ASF dual-hosted git repository. tdsilva pushed a change to branch 4.14-HBase-1.3 in repository https://gitbox.apache.org/repos/asf/phoenix.git.
from d165069 PHOENIX-5173: LIKE and ILIKE statements return empty result list for search without wildcard new 45db4c6 PHOENIX-5008: CQSI.init should not bubble up RetriableUpgradeException to client in case of an UpgradeRequiredException new 6e3af9e PHOENIX-5008 (Addendum): CQSI.init should not bubble up RetriableUpgradeException to client in case of an UpgradeRequiredException new b9a98f5 PHOENIX-5005 Server-side delete / upsert-select potentially blocked after a split new 567d8bb PHOENIX-4750 Resolve server customizers and provide them to Avatica new 7b8cf01 PHOENIX-4755 Provide an option to plugin custom avatica server config in PQS new b5ef5bc PHOENIX-3991 ROW_TIMESTAMP on TIMESTAMP column type throws ArrayOutOfBound when upserting without providing a value. new 2561852 PHOENIX-4834 PhoenixMetricsLog interface methods should not depend on specific logger new 3a5fb00 PHOENIX-4835 LoggingPhoenixConnection should log metrics upon connection close new fa962f4 PHOENIX-4853 Add sql statement to PhoenixMetricsLog interface for query level metrics logging new 7dc1fbd PHOENIX-4854 Make LoggingPhoenixResultSet idempotent when logging metrics new 98bb986 PHOENIX-4864 Fix NullPointerException while Logging some DDL Statements new 4f7065a PHOENIX-4870 LoggingPhoenixConnection should log metrics when AutoCommit is set to True. new a9608bf PHOENIX-4989 Include disruptor jar in shaded dependency new 1f41ccc PHOENIX-4781 Create artifact jar so that shaded jar replaces it properly new 61b3880 PHOENIX-5048 Index Rebuilder does not handle INDEX_STATE timestamp check for all index new 5d48d30 PHOENIX-5070 NPE when upgrading Phoenix 4.13.0 to Phoenix 4.14.1 with hbase-1.x branch in secure setup new fbe6b6c PHOENIX-5111: Null Pointer exception fix in index tool due to outputpath being null when direct option is supplied new 336652d PHOENIX-5094 increment pending disable count for index when rebuild starts new 293e75e PHOENIX-4993 close cache connections when region server is going down new e41a96c Add tenantId param to IndexTool new 7262f07 PHOENIX-5080 Index becomes Active during Partial Index Rebuilder if Index Failure happens new 0ec78d2 PHOENIX-5025 Tool to clean up orphan views new c9e850d PHOENIX-5025 Tool to clean up orphan views (addendum) new 88a00e2 PHOENIX-5247 DROP TABLE and DROP VIEW commands fail to drop second or higher level child views new da6248a PHOENIX-5137 check region close before commiting a batch for index rebuild new 272e2ad PHOENIX-4832: Add Canary Test Tool for Phoenix Query Server. new 19d119a PHOENIX-5172: Harden the PQS canary synth test tool with retry mechanism and more logging new bf79b6f PHOENIX-5188 - IndexedKeyValue should populate KeyValue fields new 0b93d226 PHOENIX-5124 PropertyPolicyProvider should not evaluate default hbase config properties new 9a153c5 PHOENIX-4822 Ensure the provided timezone is used client-side (Jaanai Zhang) new 2c2065f PHOENIX-4822 Fixed Spelling. new 66421fd PHOENIX-5194 Thread Cache is not update for Index retries in for MutationState#send()#doMutation() new e5ba2e9 PHOENIX-5018 Index mutations created by UPSERT SELECT will have wrong timestamps new fc54cf3 PHOENIX-5184: HBase and Phoenix connection leaks in Indexing code path, OrphanViewTool and PhoenixConfigurationUtil The 34 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: phoenix-client/pom.xml | 9 +- phoenix-core/pom.xml | 7 + .../apache/phoenix/end2end/AppendOnlySchemaIT.java | 2 +- .../apache/phoenix/end2end/BasePermissionsIT.java | 4 +- .../org/apache/phoenix/end2end/DateTimeIT.java | 77 ++ .../phoenix/end2end/IndexBuildTimestampIT.java | 246 ++++++ .../org/apache/phoenix/end2end/IndexToolIT.java | 150 +++- .../apache/phoenix/end2end/OrphanViewToolIT.java | 479 +++++++++++ .../org/apache/phoenix/end2end/RowTimestampIT.java | 26 +- .../SystemCatalogCreationOnConnectionIT.java | 121 ++- .../phoenix/end2end/TableDDLPermissionsIT.java | 8 - .../it/java/org/apache/phoenix/end2end/ViewIT.java | 2 +- .../index/IndexRebuildIncrementDisableCountIT.java | 237 ++++++ .../end2end/index/PartialIndexRebuilderIT.java | 66 +- .../phoenix/monitoring/BasePhoenixMetricsIT.java | 128 +++ .../monitoring/PhoenixLoggingMetricsIT.java | 290 +++++++ .../phoenix/monitoring/PhoenixMetricsIT.java | 171 +--- .../org/apache/phoenix/rpc/PhoenixServerRpcIT.java | 6 - .../java/org/apache/phoenix/rpc/UpdateCacheIT.java | 2 +- .../phoenix/compile/ServerBuildIndexCompiler.java | 138 ++++ .../apache/phoenix/compile/StatementContext.java | 11 +- .../coprocessor/BaseScannerRegionObserver.java | 9 +- .../phoenix/coprocessor/MetaDataEndpointImpl.java | 6 +- .../coprocessor/MetaDataRegionObserver.java | 58 +- .../coprocessor/PhoenixAccessController.java | 2 +- .../UngroupedAggregateRegionObserver.java | 104 ++- .../org/apache/phoenix/execute/MutationState.java | 65 +- .../org/apache/phoenix/hbase/index/Indexer.java | 10 +- .../hbase/index/builder/IndexBuildManager.java | 8 + .../phoenix/hbase/index/wal/IndexedKeyValue.java | 25 + .../hbase/index/write/RecoveryIndexWriter.java | 10 +- .../org/apache/phoenix/index/IndexMaintainer.java | 433 +++++----- .../phoenix/index/PhoenixIndexFailurePolicy.java | 63 +- .../apache/phoenix/index/PhoenixIndexMetaData.java | 3 +- .../phoenix/jdbc/LoggingPhoenixConnection.java | 50 +- .../jdbc/LoggingPhoenixPreparedStatement.java | 37 +- .../phoenix/jdbc/LoggingPhoenixResultSet.java | 24 +- .../phoenix/jdbc/LoggingPhoenixStatement.java | 49 +- .../org/apache/phoenix/jdbc/PhoenixConnection.java | 15 +- .../apache/phoenix/jdbc/PhoenixEmbeddedDriver.java | 7 +- .../org/apache/phoenix/jdbc/PhoenixMetricsLog.java | 13 +- .../java/org/apache/phoenix/log/LogWriter.java | 2 +- .../phoenix/mapreduce/AbstractBulkLoadTool.java | 15 +- .../apache/phoenix/mapreduce/OrphanViewTool.java | 895 +++++++++++++++++++++ .../phoenix/mapreduce/PhoenixInputFormat.java | 3 +- .../phoenix/mapreduce/PhoenixRecordReader.java | 4 +- .../phoenix/mapreduce/PhoenixRecordWriter.java | 18 +- .../PhoenixServerBuildIndexInputFormat.java | 111 +++ .../mapreduce/index/DirectHTableWriter.java | 14 +- .../mapreduce/index/IndexScrutinyMapper.java | 24 +- .../apache/phoenix/mapreduce/index/IndexTool.java | 305 ++++--- .../index/PhoenixIndexImportDirectMapper.java | 26 +- .../mapreduce/index/PhoenixIndexImportMapper.java | 16 +- .../index/PhoenixIndexPartialBuildMapper.java | 25 +- .../index/PhoenixServerBuildIndexMapper.java | 75 ++ .../mapreduce/util/PhoenixConfigurationUtil.java | 76 +- .../mapreduce/util/PhoenixMapReduceUtil.java | 27 + .../apache/phoenix/parse/DropTableStatement.java | 4 +- .../phoenix/query/ConnectionQueryServicesImpl.java | 4 +- .../org/apache/phoenix/query/QueryServices.java | 4 + .../apache/phoenix/query/QueryServicesOptions.java | 4 + .../org/apache/phoenix/schema/MetaDataClient.java | 16 +- .../org/apache/phoenix/tool/CanaryTestResult.java | 86 ++ .../org/apache/phoenix/tool/PhoenixCanaryTool.java | 425 ++++++++++ .../java/org/apache/phoenix/util/DateUtil.java | 22 +- .../java/org/apache/phoenix/util/IndexUtil.java | 30 + .../org/apache/phoenix/util/PropertiesUtil.java | 5 +- .../java/org/apache/phoenix/util/ServerUtil.java | 12 +- .../resources/phoenix-canary-file-sink.properties | 3 +- .../regionserver/wal/IndexedKeyValueTest.java | 67 ++ .../java/org/apache/phoenix/query/BaseTest.java | 185 +++++ .../phoenix/query/PropertyPolicyProviderTest.java | 10 + .../tool/ParameterizedPhoenixCanaryToolIT.java | 280 +++++++ .../apache/phoenix/tool/PhoenixCanaryToolTest.java | 89 ++ .../CoprocessorHConnectionTableFactoryTest.java | 119 +++ .../resources/phoenix-canary-file-sink.properties | 6 +- .../phoenix/end2end/QueryServerTestUtil.java | 187 +++++ .../phoenix/end2end/ServerCustomizersIT.java | 149 ++++ .../server/AvaticaServerConfigurationFactory.java | 20 + .../phoenix/queryserver/server/QueryServer.java | 173 ++-- .../server/ServerCustomizersFactory.java | 52 ++ .../CustomAvaticaServerConfigurationTest.java | 20 + .../server/QueryServerConfigurationTest.java | 26 +- .../queryserver/server/ServerCustomizersTest.java | 92 +++ phoenix-server/pom.xml | 10 +- .../org/apache/phoenix/spark/PhoenixRDD.scala | 1 + 86 files changed, 6047 insertions(+), 861 deletions(-) create mode 100644 phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexBuildTimestampIT.java create mode 100644 phoenix-core/src/it/java/org/apache/phoenix/end2end/OrphanViewToolIT.java create mode 100644 phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexRebuildIncrementDisableCountIT.java create mode 100644 phoenix-core/src/it/java/org/apache/phoenix/monitoring/BasePhoenixMetricsIT.java create mode 100644 phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixLoggingMetricsIT.java create mode 100644 phoenix-core/src/main/java/org/apache/phoenix/compile/ServerBuildIndexCompiler.java create mode 100644 phoenix-core/src/main/java/org/apache/phoenix/mapreduce/OrphanViewTool.java create mode 100644 phoenix-core/src/main/java/org/apache/phoenix/mapreduce/PhoenixServerBuildIndexInputFormat.java create mode 100644 phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/PhoenixServerBuildIndexMapper.java create mode 100644 phoenix-core/src/main/java/org/apache/phoenix/tool/CanaryTestResult.java create mode 100644 phoenix-core/src/main/java/org/apache/phoenix/tool/PhoenixCanaryTool.java copy python/phoenixdb/avatica/__init__.py => phoenix-core/src/main/resources/phoenix-canary-file-sink.properties (92%) create mode 100644 phoenix-core/src/test/java/org/apache/hadoop/hbase/regionserver/wal/IndexedKeyValueTest.java create mode 100644 phoenix-core/src/test/java/org/apache/phoenix/tool/ParameterizedPhoenixCanaryToolIT.java create mode 100644 phoenix-core/src/test/java/org/apache/phoenix/tool/PhoenixCanaryToolTest.java create mode 100644 phoenix-core/src/test/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryTest.java copy phoenix-pherf/src/test/resources/pherf.test.properties => phoenix-core/src/test/resources/phoenix-canary-file-sink.properties (88%) create mode 100644 phoenix-queryserver/src/it/java/org/apache/phoenix/end2end/QueryServerTestUtil.java create mode 100644 phoenix-queryserver/src/it/java/org/apache/phoenix/end2end/ServerCustomizersIT.java create mode 100644 phoenix-queryserver/src/main/java/org/apache/phoenix/queryserver/server/AvaticaServerConfigurationFactory.java create mode 100644 phoenix-queryserver/src/main/java/org/apache/phoenix/queryserver/server/ServerCustomizersFactory.java create mode 100644 phoenix-queryserver/src/test/java/org/apache/phoenix/queryserver/server/CustomAvaticaServerConfigurationTest.java create mode 100644 phoenix-queryserver/src/test/java/org/apache/phoenix/queryserver/server/ServerCustomizersTest.java