You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ss...@apache.org on 2017/11/28 07:25:22 UTC

phoenix git commit: PHOENIX-4407 Client may run only once. All further attempts to connect end up with an exception

Repository: phoenix
Updated Branches:
  refs/heads/5.x-HBase-2.0 476e29200 -> c75d766bc


PHOENIX-4407 Client may run only once. All further attempts to connect end up with an exception


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/c75d766b
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/c75d766b
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/c75d766b

Branch: refs/heads/5.x-HBase-2.0
Commit: c75d766bccb5cea6452bbbbb44a5939a14cf001c
Parents: 476e292
Author: Sergey Soldatov <ss...@apache.org>
Authored: Mon Nov 27 23:25:07 2017 -0800
Committer: Sergey Soldatov <ss...@apache.org>
Committed: Mon Nov 27 23:25:07 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c75d766b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
----------------------------------------------------------------------
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 98279e0..b31e112 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
@@ -798,7 +798,7 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices implement
                         }
                         ColumnFamilyDescriptorBuilder columnDescriptorBuilder = ColumnFamilyDescriptorBuilder.newBuilder(columnDescriptor);
                         modifyColumnFamilyDescriptor(columnDescriptorBuilder, family.getSecond());
-                        tableDescriptorBuilder.addColumnFamily(columnDescriptorBuilder.build());
+                        tableDescriptorBuilder.modifyColumnFamily(columnDescriptorBuilder.build());
                     }
                 }
             }