shahrs87 commented on code in PR #1838:
URL: https://github.com/apache/phoenix/pull/1838#discussion_r1506717514
##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/ConnectionInfo.java:
##########
@@ -114,6 +115,15 @@ public static ConnectionInfo create(String url,
ReadOnlyProps props, Properties
return create(url, conf, props, info);
}
+ public static ConnectionInfo create(String url, ReadOnlyProps props,
+ Properties info, boolean isServerConnection)
+ throws SQLException {
+ Configuration conf =
HBaseFactoryProvider.getConfigurationFactory().getConfiguration();
+ ConnectionInfo connInfo = create(url, conf, props, info);
+ connInfo.isServerConnection = isServerConnection;
Review Comment:
I think we should initialize `isServerConnection` the same way we are
initializing principal, keytab, user and haGroup variables.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]