You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by gj...@apache.org on 2021/01/05 22:05:46 UTC

[phoenix] 02/02: PHOENIX-6276: Log when hconnection is getting closed in ConnectionQueryServicesImpl

This is an automated email from the ASF dual-hosted git repository.

gjacoby pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/phoenix.git

commit 8a764813e4e4c9aa421923dc530a52d1bf8b4301
Author: Sandeep Pal <sa...@salesforce.com>
AuthorDate: Tue Jan 5 10:19:41 2021 -0800

    PHOENIX-6276: Log when hconnection is getting closed in ConnectionQueryServicesImpl
---
 .../java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index 60c29d2..9403cbe 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -1929,7 +1929,8 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices implement
                 // Only use splits if table is salted, otherwise it may not be applicable
                 // Always add default column family, as we don't know in advance if we'll need it
                 familiesPlusDefault = Lists.newArrayList(families);
-                familiesPlusDefault.add(new Pair<byte[], Map<String,Object>>(defaultCF,Collections.<String,Object>emptyMap()));
+                familiesPlusDefault.add(new Pair<>(defaultCF,
+                    Collections.<String, Object>emptyMap()));
             }
             ensureViewIndexTableCreated(
                 physicalTableNameBytes, tableProps, familiesPlusDefault,