Apache-Phoenix | 5.1 | HBase 2.3 | Build #292 UNSTABLE

2023-12-12 Thread Apache Jenkins Server

5.1 branch  HBase 2.3  build #292 status UNSTABLE
Build #292 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/292/


Apache-Phoenix | master | HBase 2.4 | Build #607 SUCCESS

2023-12-12 Thread Apache Jenkins Server

master branch  HBase 2.4  build #607 status SUCCESS
Build #607 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/607/


Apache-Phoenix | master | HBase 2.5 | Build #607 FAILURE

2023-12-12 Thread Apache Jenkins Server

master branch  HBase 2.5  build #607 status FAILURE
Build #607 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/607/


Apache-Phoenix | master | HBase 2.4 | Build #608 FAILURE

2023-12-12 Thread Apache Jenkins Server

master branch  HBase 2.4  build #608 status FAILURE
Build #608 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/608/


Apache-Phoenix | master | HBase 2.5 | Build #608 FAILURE

2023-12-12 Thread Apache Jenkins Server

master branch  HBase 2.5  build #608 status FAILURE
Build #608 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/608/


(phoenix) branch PHOENIX-6883-feature updated: PHOENIX-7111 : Metrics for server-side metadata cache (#1744)

2023-12-12 Thread shahrs87
This is an automated email from the ASF dual-hosted git repository.

shahrs87 pushed a commit to branch PHOENIX-6883-feature
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/PHOENIX-6883-feature by this 
push:
 new 6ae5e4dc64 PHOENIX-7111 : Metrics for server-side metadata cache 
(#1744)
6ae5e4dc64 is described below

commit 6ae5e4dc645808c56d40896cee14b8ca2972b909
Author: palash 
AuthorDate: Wed Dec 13 00:43:18 2023 +0530

PHOENIX-7111 : Metrics for server-side metadata cache (#1744)
---
 .../apache/phoenix/cache/ServerMetadataCache.java  |   8 +-
 .../phoenix/coprocessor/MetaDataEndpointImpl.java  |  24 ++-
 .../coprocessor/PhoenixRegionServerEndpoint.java   |   6 +
 .../metrics/MetricsMetadataCachingSource.java  | 230 +
 .../metrics/MetricsMetadataCachingSourceImpl.java  | 122 +++
 .../MetricsPhoenixCoprocessorSourceFactory.java|  12 ++
 .../org/apache/phoenix/execute/MutationState.java  |   3 +-
 .../phoenix/cache/ServerMetadataCacheTest.java | 117 +++
 8 files changed, 517 insertions(+), 5 deletions(-)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/cache/ServerMetadataCache.java 
b/phoenix-core/src/main/java/org/apache/phoenix/cache/ServerMetadataCache.java
index 15ce11e145..33a90af994 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/cache/ServerMetadataCache.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/cache/ServerMetadataCache.java
@@ -24,6 +24,8 @@ import java.util.concurrent.TimeUnit;
 
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.util.Bytes;
+import org.apache.phoenix.coprocessor.metrics.MetricsMetadataCachingSource;
+import 
org.apache.phoenix.coprocessor.metrics.MetricsPhoenixCoprocessorSourceFactory;
 import org.apache.phoenix.hbase.index.util.ImmutableBytesPtr;
 import org.apache.phoenix.schema.PTable;
 import 
org.apache.phoenix.thirdparty.com.google.common.annotations.VisibleForTesting;
@@ -57,6 +59,7 @@ public class ServerMetadataCache {
 // key is the combination of , value is 
the lastDDLTimestamp
 private final Cache lastDDLTimestampMap;
 private Connection connectionForTesting;
+private MetricsMetadataCachingSource metricsSource;
 
 /**
  * Creates/gets an instance of ServerMetadataCache.
@@ -78,6 +81,8 @@ public class ServerMetadataCache {
 
 private ServerMetadataCache(Configuration conf) {
 this.conf = conf;
+this.metricsSource = MetricsPhoenixCoprocessorSourceFactory
+.getInstance().getMetadataCachingSource();
 long maxTTL = conf.getLong(PHOENIX_COPROC_REGIONSERVER_CACHE_TTL_MS,
 DEFAULT_PHOENIX_COPROC_REGIONSERVER_CACHE_TTL_MS);
 long maxSize = conf.getLong(PHOENIX_COPROC_REGIONSERVER_CACHE_SIZE,
@@ -111,11 +116,12 @@ public class ServerMetadataCache {
 // Lookup in cache if present.
 Long lastDDLTimestamp = lastDDLTimestampMap.getIfPresent(tableKeyPtr);
 if (lastDDLTimestamp != null) {
+metricsSource.incrementRegionServerMetadataCacheHitCount();
 LOGGER.trace("Retrieving last ddl timestamp value from cache for 
tableName: {}",
 fullTableNameStr);
 return lastDDLTimestamp;
 }
-
+metricsSource.incrementRegionServerMetadataCacheMissCount();
 PTable table;
 String tenantIDStr = Bytes.toString(tenantID);
 if (tenantIDStr == null || tenantIDStr.isEmpty()) {
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
index 3beb426da0..d905f6ad5b 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
@@ -189,6 +189,8 @@ import 
org.apache.phoenix.coprocessor.generated.MetaDataProtos.GetVersionRespons
 import 
org.apache.phoenix.coprocessor.generated.MetaDataProtos.MetaDataResponse;
 import 
org.apache.phoenix.coprocessor.generated.MetaDataProtos.UpdateIndexStateRequest;
 import org.apache.phoenix.coprocessor.generated.RegionServerEndpointProtos;
+import org.apache.phoenix.coprocessor.metrics.MetricsMetadataCachingSource;
+import 
org.apache.phoenix.coprocessor.metrics.MetricsPhoenixCoprocessorSourceFactory;
 import org.apache.phoenix.exception.SQLExceptionCode;
 import org.apache.phoenix.exception.SQLExceptionInfo;
 import org.apache.phoenix.expression.Expression;
@@ -609,6 +611,7 @@ TABLE_FAMILY_BYTES, TABLE_SEQ_NUM_BYTES);
 private boolean allowSplittableSystemCatalogRollback;
 
 private MetricsMetadataSource metricsSource;
+private MetricsMetadataCachingSource metricsMetadataCachingSource;
 private long metadataCacheInvalidationTimeoutMs;
 public static void 
setFailConcurrentMutateAddColumnOneTimeF

(phoenix) branch master updated: PHOENIX-7144 Fixing tableNames for Index Tables for phoenix client Metrics (#1755)

2023-12-12 Thread tkhurana
This is an automated email from the ASF dual-hosted git repository.

tkhurana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
 new 087a88ffc7 PHOENIX-7144 Fixing tableNames for Index Tables for phoenix 
client Metrics (#1755)
087a88ffc7 is described below

commit 087a88ffc7c79ffc726567a512326f246bd0026e
Author: vikas meka 
AuthorDate: Tue Dec 12 16:12:43 2023 -0800

PHOENIX-7144 Fixing tableNames for Index Tables for phoenix client Metrics 
(#1755)

Fixing tableNames for Index Tables for phoenix client Metrics
---
 .../org/apache/phoenix/jdbc/PhoenixStatement.java  | 17 +++---
 .../monitoring/PhoenixTableLevelMetricsIT.java | 71 +-
 2 files changed, 78 insertions(+), 10 deletions(-)

diff --git 
a/phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java
 
b/phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java
index 4cc5abdb39..2b47e7d50b 100644
--- 
a/phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java
+++ 
b/phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java
@@ -363,14 +363,6 @@ public class PhoenixStatement implements 
PhoenixMonitoredStatement, SQLCloseable
 // Use original plan for data table so that 
data and immutable indexes will be sent
 // TODO: for joins, we need to iterate through 
all tables, but we need the original table,
 // not the projected table, so 
plan.getContext().getResolver().getTables() won't work.
-if (plan.getTableRef() != null
-&& plan.getTableRef().getTable() != 
null && !Strings
-.isNullOrEmpty(
-
plan.getTableRef().getTable().getPhysicalName()
-.toString())) {
-tableName = 
plan.getTableRef().getTable().getPhysicalName()
-.toString();
-}
 if 
(plan.getContext().getScanRanges().isPointLookup()) {
 pointLookup = true;
 }
@@ -379,6 +371,15 @@ public class PhoenixStatement implements 
PhoenixMonitoredStatement, SQLCloseable
 plan =
 
connection.getQueryServices().getOptimizer()
 
.optimize(PhoenixStatement.this, plan);
+
+if (plan.getTableRef() != null
+&& plan.getTableRef().getTable() != 
null && !Strings
+.isNullOrEmpty(
+
plan.getTableRef().getTable().getPhysicalName()
+.toString())) {
+tableName = 
plan.getTableRef().getTable().getPhysicalName()
+.toString();
+}
 // this will create its own trace internally, 
so we don't wrap this
 // whole thing in tracing
 ResultIterator resultIterator = 
plan.iterator();
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixTableLevelMetricsIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixTableLevelMetricsIT.java
index 441edcee7d..e070075a46 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixTableLevelMetricsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixTableLevelMetricsIT.java
@@ -486,8 +486,6 @@ public class PhoenixTableLevelMetricsIT extends BaseTest {
 private static void assertMetricValue(Metric m, MetricType checkType, long 
compareValue,
 CompareOp op) {
 if (m.getMetricType().equals(checkType)) {
-System.out.println("THe Type:"+m.getMetricType().toString() + 
"expected value:"+m.getValue() +
-"\t compare value:"+compareValue);
 switch (op) {
 case EQ:
 assertEquals(compareValue, m.getValue());
@@ -1218,6 +1216,75 @@ public class PhoenixTableLevelMetricsIT extends BaseTest 
{
 }
 }
 
+@Test
+public void testMetricsWithIndexUsage() throws Exception {
+// Generate unique names for the table and index
+String dataTable = generateUniqueName();
+String indexName = generateUniqueName() + "_IDX";
+
+
+try (Connection conn = getConnFromTestDriver()) {
+// Create a mutable ta

Apache-Phoenix | master | HBase 2.5 | Build #609 FAILURE

2023-12-12 Thread Apache Jenkins Server

master branch  HBase 2.5  build #609 status FAILURE
Build #609 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/609/


Apache-Phoenix | master | HBase 2.4 | Build #609 FAILURE

2023-12-12 Thread Apache Jenkins Server

master branch  HBase 2.4  build #609 status FAILURE
Build #609 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/609/


(phoenix-thirdparty) 01/01: Preparing phoenix-thirdparty release 2.1.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md

2023-12-12 Thread rajeshbabu
This is an automated email from the ASF dual-hosted git repository.

rajeshbabu pushed a commit to tag 2.1.0RC0
in repository https://gitbox.apache.org/repos/asf/phoenix-thirdparty.git

commit d561dc79b889e92ff6830ee2dac44412308328d3
Author: Rajeshbabu Chintaguntla 
AuthorDate: Wed Dec 13 03:31:37 2023 +

Preparing phoenix-thirdparty release 2.1.0RC0; tagging and updates to 
CHANGES.md and RELEASENOTES.md
---
 CHANGES.md | 20 
 RELEASENOTES.md| 13 +
 phoenix-shaded-commons-cli/pom.xml |  2 +-
 phoenix-shaded-guava/pom.xml   |  2 +-
 pom.xml|  2 +-
 5 files changed, 36 insertions(+), 3 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index fe2c20d..aa24301 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -18,6 +18,26 @@
 -->
 # PHOENIX Changelog
 
+## Release thirdparty-2.1.0 - Unreleased (as of 2023-12-13)
+
+
+
+### IMPROVEMENTS:
+
+| JIRA | Summary | Priority | Component |
+|: |: | :--- |: |
+| [PHOENIX-7080](https://issues.apache.org/jira/browse/PHOENIX-7080) | Switch 
phoenix-thirdparty to guava-jre from guava-android |  Major | thirdparty |
+
+
+### OTHER:
+
+| JIRA | Summary | Priority | Component |
+|: |: | :--- |: |
+| [PHOENIX-7142](https://issues.apache.org/jira/browse/PHOENIX-7142) | Bump 
phoenix-thirdparty version to 2.1 |  Major | thirdparty |
+| [PHOENIX-6992](https://issues.apache.org/jira/browse/PHOENIX-6992) | Upgrade 
Guava to 32.1.1 |  Major | thirdparty |
+
+
+
 ## Release thirdparty-2.0.0 - Unreleased (as of 2022-04-11)
 
 
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index 076686a..24ae76e 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -16,6 +16,19 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 -->
+# PHOENIX  thirdparty-2.1.0 Release Notes
+
+These release notes cover new developer and user-facing incompatibilities, 
important issues, features, and major improvements.
+
+
+---
+
+* [PHOENIX-7080](https://issues.apache.org/jira/browse/PHOENIX-7080) | *Major* 
| **Switch phoenix-thirdparty to guava-jre from guava-android**
+
+phoenix-thirdparty now includes guava-jre instead of guava-android.
+
+
+
 # PHOENIX  thirdparty-2.0.0 Release Notes
 
 These release notes cover new developer and user-facing incompatibilities, 
important issues, features, and major improvements.
diff --git a/phoenix-shaded-commons-cli/pom.xml 
b/phoenix-shaded-commons-cli/pom.xml
index ab9f900..8422945 100644
--- a/phoenix-shaded-commons-cli/pom.xml
+++ b/phoenix-shaded-commons-cli/pom.xml
@@ -23,7 +23,7 @@
   
 org.apache.phoenix.thirdparty
 phoenix-thirdparty
-2.1.0-SNAPSHOT
+2.1.0
   
   phoenix-shaded-commons-cli
   Apache Phoenix Patched and Relocated (Shaded) Commons-CLI
diff --git a/phoenix-shaded-guava/pom.xml b/phoenix-shaded-guava/pom.xml
index 7474626..5e5142e 100644
--- a/phoenix-shaded-guava/pom.xml
+++ b/phoenix-shaded-guava/pom.xml
@@ -24,7 +24,7 @@
   
 org.apache.phoenix.thirdparty
 phoenix-thirdparty
-2.1.0-SNAPSHOT
+2.1.0
   
 
   phoenix-shaded-guava
diff --git a/pom.xml b/pom.xml
index a07880e..e924b8c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
 
   org.apache.phoenix.thirdparty
   phoenix-thirdparty
-  2.1.0-SNAPSHOT
+  2.1.0
   pom
   Apache Phoenix Third-Party Libs
   Packaging of relocated (renamed, shaded) third-party libraries 
used by Phoenix.



(phoenix-thirdparty) tag 2.1.0RC0 created (now d561dc7)

2023-12-12 Thread rajeshbabu
This is an automated email from the ASF dual-hosted git repository.

rajeshbabu pushed a change to tag 2.1.0RC0
in repository https://gitbox.apache.org/repos/asf/phoenix-thirdparty.git


  at d561dc7  (commit)
This tag includes the following new commits:

 new d561dc7  Preparing phoenix-thirdparty release 2.1.0RC0; tagging and 
updates to CHANGES.md and RELEASENOTES.md

The 1 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.




(phoenix-thirdparty) branch master updated (ac27714 -> d561dc7)

2023-12-12 Thread rajeshbabu
This is an automated email from the ASF dual-hosted git repository.

rajeshbabu pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-thirdparty.git


from ac27714  PHOENIX-7142 Bump phoenix-thirdparty version to 2.1 (#9)
 add d561dc7  Preparing phoenix-thirdparty release 2.1.0RC0; tagging and 
updates to CHANGES.md and RELEASENOTES.md

No new revisions were added by this update.

Summary of changes:
 CHANGES.md | 20 
 RELEASENOTES.md| 13 +
 phoenix-shaded-commons-cli/pom.xml |  2 +-
 phoenix-shaded-guava/pom.xml   |  2 +-
 pom.xml|  2 +-
 5 files changed, 36 insertions(+), 3 deletions(-)



svn commit: r66023 - in /dev/phoenix/phoenix-thirdparty-2.1.0RC0: ./ CHANGES.md RELEASENOTES.md phoenix-thirdparty-2.1.0-src.tar.gz phoenix-thirdparty-2.1.0-src.tar.gz.asc phoenix-thirdparty-2.1.0-src

2023-12-12 Thread rajeshbabu
Author: rajeshbabu
Date: Wed Dec 13 03:32:01 2023
New Revision: 66023

Log:
Apache phoenix-thirdparty 2.1.0RC0

Added:
dev/phoenix/phoenix-thirdparty-2.1.0RC0/
dev/phoenix/phoenix-thirdparty-2.1.0RC0/CHANGES.md
dev/phoenix/phoenix-thirdparty-2.1.0RC0/RELEASENOTES.md
dev/phoenix/phoenix-thirdparty-2.1.0RC0/phoenix-thirdparty-2.1.0-src.tar.gz 
  (with props)

dev/phoenix/phoenix-thirdparty-2.1.0RC0/phoenix-thirdparty-2.1.0-src.tar.gz.asc

dev/phoenix/phoenix-thirdparty-2.1.0RC0/phoenix-thirdparty-2.1.0-src.tar.gz.sha512

Added: dev/phoenix/phoenix-thirdparty-2.1.0RC0/CHANGES.md
==
--- dev/phoenix/phoenix-thirdparty-2.1.0RC0/CHANGES.md (added)
+++ dev/phoenix/phoenix-thirdparty-2.1.0RC0/CHANGES.md Wed Dec 13 03:32:01 2023
@@ -0,0 +1,91 @@
+
+
+# PHOENIX Changelog
+
+## Release thirdparty-2.1.0 - Unreleased (as of 2023-12-13)
+
+
+
+### IMPROVEMENTS:
+
+| JIRA | Summary | Priority | Component |
+|: |: | :--- |: |
+| [PHOENIX-7080](https://issues.apache.org/jira/browse/PHOENIX-7080) | Switch 
phoenix-thirdparty to guava-jre from guava-android |  Major | thirdparty |
+
+
+### OTHER:
+
+| JIRA | Summary | Priority | Component |
+|: |: | :--- |: |
+| [PHOENIX-7142](https://issues.apache.org/jira/browse/PHOENIX-7142) | Bump 
phoenix-thirdparty version to 2.1 |  Major | thirdparty |
+| [PHOENIX-6992](https://issues.apache.org/jira/browse/PHOENIX-6992) | Upgrade 
Guava to 32.1.1 |  Major | thirdparty |
+
+
+
+## Release thirdparty-2.0.0 - Unreleased (as of 2022-04-11)
+
+
+
+### IMPROVEMENTS:
+
+| JIRA | Summary | Priority | Component |
+|: |: | :--- |: |
+| [PHOENIX-6575](https://issues.apache.org/jira/browse/PHOENIX-6575) | Replace 
patched commons-cli with original one when a release with CLI-254 is available 
|  Major | thirdparty |
+| [PHOENIX-6641](https://issues.apache.org/jira/browse/PHOENIX-6641) | Bump 
Guava to 31.0.1 in phoenix-thirdparty |  Major | thirdparty |
+
+
+### BUG FIXES:
+
+| JIRA | Summary | Priority | Component |
+|: |: | :--- |: |
+| [PHOENIX-6353](https://issues.apache.org/jira/browse/PHOENIX-6353) | Fix 
phoenix-thirdparty rat warnings, and update CHANGES.md, RELEASE\_NOTES.md |  
Minor | thirdparty |
+
+
+### OTHER:
+
+| JIRA | Summary | Priority | Component |
+|: |: | :--- |: |
+| [PHOENIX-6648](https://issues.apache.org/jira/browse/PHOENIX-6648) | Change 
next release version of phoenix-thirdparty to 2.0.0 |  Major | thirdparty |
+
+
+
+## Release thirdparty-1.1.0 - Unreleased (as of 2021-01-29)
+
+
+
+### IMPROVEMENTS:
+
+| JIRA | Summary | Priority | Component |
+|: |: | :--- |: |
+| [PHOENIX-6349](https://issues.apache.org/jira/browse/PHOENIX-6349) | Add and 
use commons-cli to phoenix-thirdparty |  Major | . |
+
+
+
+## Release thirdparty-1.0.0 - Unreleased (as of 2020-10-14)
+
+
+
+### SUB-TASKS:
+
+| JIRA | Summary | Priority | Component |
+|: |: | :--- |: |
+| [PHOENIX-6039](https://issues.apache.org/jira/browse/PHOENIX-6039) | Create 
phoenix-thirdparty main project, and add phoenix-shaded-guava as a subproject | 
 Major | thirdparty |
+| [PHOENIX-6038](https://issues.apache.org/jira/browse/PHOENIX-6038) | Create 
phoenix-thirdparty git repo |  Major | thirdparty |
+
+

Added: dev/phoenix/phoenix-thirdparty-2.1.0RC0/RELEASENOTES.md
==
--- dev/phoenix/phoenix-thirdparty-2.1.0RC0/RELEASENOTES.md (added)
+++ dev/phoenix/phoenix-thirdparty-2.1.0RC0/RELEASENOTES.md Wed Dec 13 03:32:01 
2023
@@ -0,0 +1,72 @@
+
+
+# PHOENIX  thirdparty-2.1.0 Release Notes
+
+These release notes cover new developer and user-facing incompatibilities, 
important issues, features, and major improvements.
+
+
+---
+
+* [PHOENIX-7080](https://issues.apache.org/jira/browse/PHOENIX-7080) | *Major* 
| **Switch phoenix-thirdparty to guava-jre from guava-android**
+
+phoenix-thirdparty now includes guava-jre instead of guava-android.
+
+
+
+# PHOENIX  thirdparty-2.0.0 Release Notes
+
+These release notes cover new developer and user-facing incompatibilities, 
important issues, features, and major improvements.
+
+
+---
+
+* [PHOENIX-6575](https://issues.apache.org/jira/browse/PHOENIX-6575) | *Major* 
| **Replace patched commons-cli with original one when a release with CLI-254 
is available**
+
+Phoenix-thirdparty now uses unmodified (apart from the relocation) upstream 
commons-cli 1.5.0.
+commons-cli 1.5.0 includes the fix for CLI-254, bu the API to activate it is 
different than the patched version included in phoenix-thirdparty 1.1.0.
+Hence phoenix-thirdparty is 2.0 NOT API compatible with phoenix-thirdparty 
1.1.0
+
+
+---
+
+* [PHOENIX-6641](https://issues.apache.org/jira/browse/PHOENIX-6641) | *Major* 
| **Bump Guava to 31.0.1 in phoenix-thirdparty**
+
+Phoenix-thirdparty now includes Guava 31.0.1.
+
+
+
+# PHOENIX  thirdparty-1.1.0 Release Notes
+
+

(phoenix-queryserver) branch master updated: PHOENIX-7148 Use getColumnLabel Instead of getColumnName in QueryServerBasicsIT

2023-12-12 Thread stoty
This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-queryserver.git


The following commit(s) were added to refs/heads/master by this push:
 new a0238df  PHOENIX-7148 Use getColumnLabel Instead of getColumnName in 
QueryServerBasicsIT
a0238df is described below

commit a0238df55e5b532df116ce74da14cfb9fb53f67f
Author: Istvan Toth 
AuthorDate: Tue Dec 12 19:45:55 2023 +0100

PHOENIX-7148 Use getColumnLabel Instead of getColumnName in 
QueryServerBasicsIT
---
 .../src/it/java/org/apache/phoenix/end2end/QueryServerBasicsIT.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/phoenix-queryserver-it/src/it/java/org/apache/phoenix/end2end/QueryServerBasicsIT.java
 
b/phoenix-queryserver-it/src/it/java/org/apache/phoenix/end2end/QueryServerBasicsIT.java
index e19ea62..66820bd 100644
--- 
a/phoenix-queryserver-it/src/it/java/org/apache/phoenix/end2end/QueryServerBasicsIT.java
+++ 
b/phoenix-queryserver-it/src/it/java/org/apache/phoenix/end2end/QueryServerBasicsIT.java
@@ -110,7 +110,7 @@ public class QueryServerBasicsIT extends BaseTest {
 final ResultSetMetaData metaData = resultSet.getMetaData();
 assertFalse("unexpected populated resultSet", resultSet.next());
 assertEquals(1, metaData.getColumnCount());
-assertEquals(TABLE_CAT, metaData.getColumnName(1));
+assertEquals(TABLE_CAT, metaData.getColumnLabel(1));
   }
 }
   }
@@ -126,8 +126,8 @@ public class QueryServerBasicsIT extends BaseTest {
 final ResultSetMetaData metaData = resultSet.getMetaData();
 assertTrue("unexpected empty resultset", resultSet.next());
 assertEquals(2, metaData.getColumnCount());
-assertEquals(TABLE_SCHEM, metaData.getColumnName(1));
-assertEquals(TABLE_CATALOG, metaData.getColumnName(2));
+assertEquals(TABLE_SCHEM, metaData.getColumnLabel(1));
+assertEquals(TABLE_CATALOG, metaData.getColumnLabel(2));
 boolean containsSystem = false;
 do {
   if (resultSet.getString(1).equalsIgnoreCase(SYSTEM_SCHEMA_NAME)) 
containsSystem = true;



(phoenix) branch 5.1 updated: PHOENIX-7076 : MetaDataRegionObserver#postOpen hook improvements (#1735) (#1757)

2023-12-12 Thread vjasani
This is an automated email from the ASF dual-hosted git repository.

vjasani pushed a commit to branch 5.1
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/5.1 by this push:
 new b05fac58fa PHOENIX-7076 : MetaDataRegionObserver#postOpen hook 
improvements (#1735) (#1757)
b05fac58fa is described below

commit b05fac58faf30e9e81806e1641fa553141ee61ed
Author: Divneet18 
AuthorDate: Wed Dec 13 09:49:52 2023 +0530

PHOENIX-7076 : MetaDataRegionObserver#postOpen hook improvements (#1735) 
(#1757)
---
 .../phoenix/coprocessor/MetaDataRegionObserver.java | 21 ++---
 .../org/apache/phoenix/query/QueryServices.java |  1 +
 .../apache/phoenix/query/QueryServicesOptions.java  |  1 +
 3 files changed, 20 insertions(+), 3 deletions(-)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataRegionObserver.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataRegionObserver.java
index 7691aceb50..4708b99af4 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataRegionObserver.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataRegionObserver.java
@@ -17,6 +17,8 @@
  */
 package org.apache.phoenix.coprocessor;
 
+import static org.apache.phoenix.query.QueryServices.STATS_COLLECTION_ENABLED;
+import static 
org.apache.phoenix.query.QueryServicesOptions.DEFAULT_STATS_COLLECTION_ENABLED;
 import static org.apache.phoenix.schema.types.PDataType.TRUE_BYTES;
 
 import java.io.IOException;
@@ -72,6 +74,7 @@ import org.apache.phoenix.schema.PTable;
 import org.apache.phoenix.schema.SortOrder;
 import org.apache.phoenix.schema.TableRef;
 import org.apache.phoenix.schema.types.PLong;
+import 
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ThreadFactoryBuilder;
 import org.apache.phoenix.util.ByteUtil;
 import org.apache.phoenix.util.EnvironmentEdgeManager;
 import org.apache.phoenix.util.IndexUtil;
@@ -109,6 +112,8 @@ public class MetaDataRegionObserver implements 
RegionObserver,RegionCoprocessor
 QueryConstants.SYSTEM_SCHEMA_NAME_BYTES,
 PhoenixDatabaseMetaData.SYSTEM_CATALOG_TABLE_BYTES);
 protected ScheduledThreadPoolExecutor executor = new 
ScheduledThreadPoolExecutor(1);
+private ScheduledThreadPoolExecutor truncateTaskExectuor = new 
ScheduledThreadPoolExecutor(1,
+new 
ThreadFactoryBuilder().setDaemon(true).setNameFormat("task-truncated-%d").build());
 private boolean enableRebuildIndex = 
QueryServicesOptions.DEFAULT_INDEX_FAILURE_HANDLING_REBUILD;
 private long rebuildIndexTimeInterval = 
QueryServicesOptions.DEFAULT_INDEX_FAILURE_HANDLING_REBUILD_INTERVAL;
 private static Map batchExecutedPerTableMap = new 
HashMap();
@@ -116,6 +121,7 @@ public class MetaDataRegionObserver implements 
RegionObserver,RegionCoprocessor
 private static Properties rebuildIndexConnectionProps;
 // Added for test purposes
 private long initialRebuildTaskDelay;
+private long statsTruncateTaskDelay;
 
 @Override
 public void preClose(final ObserverContext c,
@@ -156,6 +162,10 @@ public class MetaDataRegionObserver implements 
RegionObserver,RegionCoprocessor
 config.getLong(
 QueryServices.INDEX_REBUILD_TASK_INITIAL_DELAY,
 
QueryServicesOptions.DEFAULT_INDEX_REBUILD_TASK_INITIAL_DELAY);
+statsTruncateTaskDelay =
+config.getLong(
+QueryServices.START_TRUNCATE_TASK_DELAY,
+
QueryServicesOptions.DEFAULT_START_TRUNCATE_TASK_DELAY);
 }
 
 @Override
@@ -202,9 +212,14 @@ public class MetaDataRegionObserver implements 
RegionObserver,RegionCoprocessor
 }
 }
 };
-Thread t = new Thread(r);
-t.setDaemon(true);
-t.start();
+
+if (env.getConfiguration()
+.getBoolean(STATS_COLLECTION_ENABLED, 
DEFAULT_STATS_COLLECTION_ENABLED)) {
+truncateTaskExectuor.schedule(r, statsTruncateTaskDelay, 
TimeUnit.MILLISECONDS);
+} else {
+LOGGER.info("Stats collection is disabled");
+}
+
 
 if (!enableRebuildIndex) {
 LOGGER.info("Failure Index Rebuild is skipped by configuration.");
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServices.java 
b/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServices.java
index 5d40fede5b..d66a07d719 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServices.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServices.java
@@ -158,6 +158,7 @@ public interface QueryServices extends SQLCloseable {
 public static final String INDEX_FAILURE_HANDLING_REBUILD_INTERVAL_ATTRIB =
 "phoenix.index.failure.handling.rebuild.interval";
 public static final String INDEX_REBUILD_TASK_INITIAL_DELAY = 
"phoenix.inde

Apache-Phoenix | 5.1 | HBase 2.1 | Build #293 FAILURE

2023-12-12 Thread Apache Jenkins Server

5.1 branch  HBase 2.1  build #293 status FAILURE
Build #293 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/293/


Apache-Phoenix | 5.1 | HBase 2.2 | Build #293 FAILURE

2023-12-12 Thread Apache Jenkins Server

5.1 branch  HBase 2.2  build #293 status FAILURE
Build #293 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/293/


svn commit: r66025 - /release/phoenix/KEYS

2023-12-12 Thread rajeshbabu
Author: rajeshbabu
Date: Wed Dec 13 05:41:17 2023
New Revision: 66025

Log:
Adding Rajeshbabu Chintaguntla GPG key

Modified:
release/phoenix/KEYS

Modified: release/phoenix/KEYS
==
--- release/phoenix/KEYS (original)
+++ release/phoenix/KEYS Wed Dec 13 05:41:17 2023
@@ -13,6 +13,65 @@ Examples of adding your key to this file
 
 
 
+pub   rsa4096 2023-12-12 [SC]
+  2CA0736B6694EC3BB3269994A6E3646E2CC0FD99
+uid   [ultimate] Rajeshbabu Chintaguntla 
+sig 3A6E3646E2CC0FD99 2023-12-12  Rajeshbabu Chintaguntla 

+sub   rsa4096 2023-12-12 [E]
+sig  A6E3646E2CC0FD99 2023-12-12  Rajeshbabu Chintaguntla 

+
+-BEGIN PGP PUBLIC KEY BLOCK-
+
+mQINBGV34DMBEACm9dpw1yNhwkXb9/jEocCFUtyQC1NL0F/bCVeR5zHpiFbw006c
+G/Ip6RtbytrKaO8UkCbZ3RGN15N3hgiDYVJ292RHKTYG0mKBN7gnVG8BkKmF21Or
+Kv5n/ZbLdP71vSkjnm+MLZsFqKY+krA7Fdt03stV0KLVJE54T0l+f3/BGCj3leqz
+OSGimLjl+NbcCOiZc37iiIdDTH+Q5O9uUv0KdMitKG2Rw5XsLNyquPhsgyl1g+5y
+qCa09GbTK8N4gFG/yBN7XgexWZdMhojFuJq/LtUaBq/r5zifUK7+ajn+kdDMUJOG
+gtsOmUri96JYhD/hwEis/h7oeeo2rgCgB7jrQJ8KnCsDHm387kBjw0nYmKA6i8Nt
+Ojs3ANVVroNJvv8cfPzhjUJlm4fm4CalJ6AG41occtJ7xwhl3wU6r4A5GzKSOlIQ
+yUbg5DP0leoKHdt5YOpGkoE+YYbnlCEadgxsu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IYSA22t
+jIQ71oVBl9JvaIOw6TomMtccT8dQgyA25fjobI6Qt0ZY7GC/lV5tvFUViELzj5EW
+IUafAhcMuEQ7UR3bPSFOoaKDFp0U/mSFLmXmUhS+DcGh6gub9X5jc8wIP5YMJtf6
+hO1t80NxWpcwF9FW6bO0haeYkXfMIRmrOelhOedKyDhOGUnsCtx0etzhk/tUbH4A
+JP+kbOrVD42ipq/+nLNupbIdORB4910PR7OIOohNHeLIVGq4IbhmH8oKDW3kxjQF
+OkJKnCSU3r2Ip3/ra8vJG4iEiI0yE3kFqS5WAzhYqZR16fUJ0BdCeh7BAnPS2T13
+iCsbaV8d3la2At6bgYcqXNC3wUWzh1b4qL6H7/qhaPOm5JbRJQu91KUaGMKU/2lL
+6DY6PjfnVXxXrY1UbglQInSRlDsU3CrS7XH+BJncMcs1SyT8tKcSuysOEdy+ryLV
+cZTMN8pLgRiVRuI=
+=VAn7
+-END PGP PUBLIC KEY BLOCK-
 pub   4096R/17AF6E3F 2014-02-07
 uid  Mujtaba Chohan (CODE SIGNING KEY) 
 sig 317AF6E3F 2014-02-07  Mujtaba Chohan (CODE SIGNING KEY) 





Apache-Phoenix | 5.1 | HBase 2.5 | Build #293 FAILURE

2023-12-12 Thread Apache Jenkins Server

5.1 branch  HBase 2.5  build #293 status FAILURE
Build #293 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/293/


Apache-Phoenix | 5.1 | HBase 2.3 | Build #293 UNSTABLE

2023-12-12 Thread Apache Jenkins Server

5.1 branch  HBase 2.3  build #293 status UNSTABLE
Build #293 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/293/


Apache-Phoenix | 5.1 | HBase 2.4 | Build #293 UNSTABLE

2023-12-12 Thread Apache Jenkins Server

5.1 branch  HBase 2.4  build #293 status UNSTABLE
Build #293 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.1/293/