This is an automated email from the ASF dual-hosted git repository. tdsilva pushed a change to branch 4.14-HBase-1.2 in repository https://gitbox.apache.org/repos/asf/phoenix.git.
from 1d16446 PHOENIX-5173: LIKE and ILIKE statements return empty result list for search without wildcard new f1cdc17 PHOENIX-5008: CQSI.init should not bubble up RetriableUpgradeException to client in case of an UpgradeRequiredException new cb36277 PHOENIX-5008 (Addendum): CQSI.init should not bubble up RetriableUpgradeException to client in case of an UpgradeRequiredException new 5c36e50 PHOENIX-5005 Server-side delete / upsert-select potentially blocked after a split new 28fc50e PHOENIX-4750 Resolve server customizers and provide them to Avatica new 77dde07 PHOENIX-4755 Provide an option to plugin custom avatica server config in PQS new 93e62ee PHOENIX-3991 ROW_TIMESTAMP on TIMESTAMP column type throws ArrayOutOfBound when upserting without providing a value. new c5120c5 PHOENIX-4834 PhoenixMetricsLog interface methods should not depend on specific logger new 663eff7 PHOENIX-4835 LoggingPhoenixConnection should log metrics upon connection close new b444419 PHOENIX-4853 Add sql statement to PhoenixMetricsLog interface for query level metrics logging new f8859c8 PHOENIX-4854 Make LoggingPhoenixResultSet idempotent when logging metrics new 8c5c1b6 PHOENIX-4864 Fix NullPointerException while Logging some DDL Statements new f9ff033 PHOENIX-4870 LoggingPhoenixConnection should log metrics when AutoCommit is set to True. new cb9c9a0 PHOENIX-4989 Include disruptor jar in shaded dependency new b3ecde7 PHOENIX-4781 Create artifact jar so that shaded jar replaces it properly new 512efd8 PHOENIX-5048 Index Rebuilder does not handle INDEX_STATE timestamp check for all index new 172149d PHOENIX-5070 NPE when upgrading Phoenix 4.13.0 to Phoenix 4.14.1 with hbase-1.x branch in secure setup new 286769c PHOENIX-5111: Null Pointer exception fix in index tool due to outputpath being null when direct option is supplied new ca1b588 PHOENIX-5094 increment pending disable count for index when rebuild starts new 495448e PHOENIX-4993 close cache connections when region server is going down new e1daa42 Add tenantId param to IndexTool new 7772f69 PHOENIX-5080 Index becomes Active during Partial Index Rebuilder if Index Failure happens new e3bd603 PHOENIX-5025 Tool to clean up orphan views new f741006 PHOENIX-5025 Tool to clean up orphan views (addendum) new 9070d99 PHOENIX-5247 DROP TABLE and DROP VIEW commands fail to drop second or higher level child views new 1916b3d PHOENIX-5137 check region close before commiting a batch for index rebuild new dc481ce PHOENIX-4832: Add Canary Test Tool for Phoenix Query Server. new e3ac1e9 PHOENIX-5172: Harden the PQS canary synth test tool with retry mechanism and more logging new 294de68 PHOENIX-5188 - IndexedKeyValue should populate KeyValue fields new fd7dd41 PHOENIX-5124 PropertyPolicyProvider should not evaluate default hbase config properties new 7a6daf0 PHOENIX-4822 Ensure the provided timezone is used client-side (Jaanai Zhang) new 6a3e8e8 PHOENIX-4822 Fixed Spelling. new d5d7cd6 PHOENIX-5194 Thread Cache is not update for Index retries in for MutationState#send()#doMutation() new c8e2e34 PHOENIX-5018 Index mutations created by UPSERT SELECT will have wrong timestamps new 9e10faa 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 | 120 ++- .../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(+), 860 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