[ https://issues.apache.org/jira/browse/KNOX-2634?focusedWorklogId=623060&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-623060 ]
ASF GitHub Bot logged work on KNOX-2634: ---------------------------------------- Author: ASF GitHub Bot Created on: 15/Jul/21 13:47 Start Date: 15/Jul/21 13:47 Worklog Time Spent: 10m Work Description: pzampino commented on a change in pull request #469: URL: https://github.com/apache/knox/pull/469#discussion_r670474747 ########## File path: gateway-provider-ha/src/main/java/org/apache/knox/gateway/ha/provider/HaServiceConfig.java ########## @@ -57,4 +57,8 @@ boolean isNoFallbackEnabled(); void setNoFallbackEnabled(boolean noFallbackEnabled); + + void setDisableStickySessionForUserAgents(String disableStickySessionForUserAgents); Review comment: (minor) nit: The method name is misleading to me. setStickySessionDisabledUserAgents() ? ########## File path: gateway-provider-ha/src/main/java/org/apache/knox/gateway/ha/provider/impl/HaServiceConfigConstants.java ########## @@ -53,4 +59,6 @@ boolean DEFAULT_NO_FALLBACK_ENABLED = false; String DEFAULT_STICKY_SESSION_COOKIE_NAME = "KNOX_BACKEND"; + + String DEFAULT_DISABLE_LB_USER_AGENTS = "ClouderaODBCDriverforApacheHive"; Review comment: What if the default includes multiple values in the future? Should this be an array type instead? ########## File path: gateway-provider-ha/src/main/java/org/apache/knox/gateway/ha/provider/HaServiceConfig.java ########## @@ -57,4 +57,8 @@ boolean isNoFallbackEnabled(); void setNoFallbackEnabled(boolean noFallbackEnabled); + + void setDisableStickySessionForUserAgents(String disableStickySessionForUserAgents); + + String getDisableStickySessionForUserAgents(); Review comment: (minor) nit: The method name is misleading to me. List<String> getStickySessionDisabledUserAgents() ? -- 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: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 623060) Time Spent: 0.5h (was: 20m) > ODBC connection broken when HA Loadbalancing config is enabled > -------------------------------------------------------------- > > Key: KNOX-2634 > URL: https://issues.apache.org/jira/browse/KNOX-2634 > Project: Apache Knox > Issue Type: Bug > Components: Server > Reporter: Sandeep More > Assignee: Sandeep More > Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > When connecting using ODBC Connection against Knox with HA Loadbalancing > template get the error described below: > > ERROR [HY000] [Cloudera][Hardy] (35) Error from server: error code: '0' error > message: 'Invalid OperationHandle: OperationHandle [opType=GET_TABLES, > getHandleIdentifier()=1097ca76-1815-4f0c-9c09-67fa84d22e43]'. > Details: > DataSourceKind=Odbc > DataSourcePath=dsn=HIVE -- This message was sent by Atlassian Jira (v8.3.4#803005)