This is an automated email from the ASF dual-hosted git repository. tdsilva pushed a change to branch 4.14-HBase-1.4 in repository https://gitbox.apache.org/repos/asf/phoenix.git.
from 15bc250 PHOENIX-5173: LIKE and ILIKE statements return empty result list for search without wildcard new 5b82f54 PHOENIX-5008: CQSI.init should not bubble up RetriableUpgradeException to client in case of an UpgradeRequiredException new 75f01d9 PHOENIX-5008 (Addendum): CQSI.init should not bubble up RetriableUpgradeException to client in case of an UpgradeRequiredException new c5a1f04 PHOENIX-5005 Server-side delete / upsert-select potentially blocked after a split new dae5b09 PHOENIX-4750 Resolve server customizers and provide them to Avatica new 0a8d170 PHOENIX-4755 Provide an option to plugin custom avatica server config in PQS new 9b21dab PHOENIX-3991 ROW_TIMESTAMP on TIMESTAMP column type throws ArrayOutOfBound when upserting without providing a value. new dd5725c PHOENIX-4834 PhoenixMetricsLog interface methods should not depend on specific logger new 4241f57 PHOENIX-4835 LoggingPhoenixConnection should log metrics upon connection close new 58e21cc PHOENIX-4853 Add sql statement to PhoenixMetricsLog interface for query level metrics logging new c6df225 PHOENIX-4854 Make LoggingPhoenixResultSet idempotent when logging metrics new 7094a0c PHOENIX-4864 Fix NullPointerException while Logging some DDL Statements new 1961a97 PHOENIX-4870 LoggingPhoenixConnection should log metrics when AutoCommit is set to True. new 9e51efa PHOENIX-4989 Include disruptor jar in shaded dependency new c5396f0 PHOENIX-4781 Create artifact jar so that shaded jar replaces it properly new 16ec10c PHOENIX-5048 Index Rebuilder does not handle INDEX_STATE timestamp check for all index new ed2d361 PHOENIX-5070 NPE when upgrading Phoenix 4.13.0 to Phoenix 4.14.1 with hbase-1.x branch in secure setup new 6c9aee1 PHOENIX-5111: Null Pointer exception fix in index tool due to outputpath being null when direct option is supplied new b853be9 PHOENIX-5094 increment pending disable count for index when rebuild starts new 9bcd7c6 PHOENIX-4993 close cache connections when region server is going down new dcb8b7e Add tenantId param to IndexTool new 5e70e18 PHOENIX-5080 Index becomes Active during Partial Index Rebuilder if Index Failure happens new e907249 PHOENIX-5025 Tool to clean up orphan views new d2e70b6 PHOENIX-5025 Tool to clean up orphan views (addendum) new 7d2aac1 PHOENIX-5247 DROP TABLE and DROP VIEW commands fail to drop second or higher level child views new 91988be PHOENIX-5137 check region close before commiting a batch for index rebuild new aa7b970 PHOENIX-4832: Add Canary Test Tool for Phoenix Query Server. new 30754af PHOENIX-5172: Harden the PQS canary synth test tool with retry mechanism and more logging new 0eeb6c9 PHOENIX-5188 - IndexedKeyValue should populate KeyValue fields new 019aa1e PHOENIX-5124 PropertyPolicyProvider should not evaluate default hbase config properties new 1777c54 PHOENIX-4822 Ensure the provided timezone is used client-side (Jaanai Zhang) new e8522d6 PHOENIX-4822 Fixed Spelling. new a0b6aba PHOENIX-5194 Thread Cache is not update for Index retries in for MutationState#send()#doMutation() new 474150e PHOENIX-5018 Index mutations created by UPSERT SELECT will have wrong timestamps new 3d543f1 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 | 304 ++++--- .../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, 6046 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