[jira] [Commented] (DRILL-7494) Unable to connect to Drill using JDBC driver when using custom authenticator
[ https://issues.apache.org/jira/browse/DRILL-7494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17001888#comment-17001888 ] ASF GitHub Bot commented on DRILL-7494: --- asfgit commented on pull request #1938: DRILL-7494: Unable to connect to Drill using JDBC driver when using custom authenticator URL: https://github.com/apache/drill/pull/1938 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Unable to connect to Drill using JDBC driver when using custom authenticator > > > Key: DRILL-7494 > URL: https://issues.apache.org/jira/browse/DRILL-7494 > Project: Apache Drill > Issue Type: Bug >Affects Versions: 1.17.0 >Reporter: Vova Vysotskyi >Assignee: Vova Vysotskyi >Priority: Blocker > Fix For: 1.17.0 > > > Steps to reproduce: > Set up Drill with a custom authenticator as described here: > https://drill.apache.org/docs/creating-custom-authenticators/ > Try to connect using simple java client. > Connection hangs without any errors. It is caused by the fix for DRILL-6540 > where was excluded {{com.fasterxml.woodstox:woodstox-core}} but its classes > are used in {{org.apache.hadoop.conf.Configuration}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (DRILL-7494) Unable to connect to Drill using JDBC driver when using custom authenticator
[ https://issues.apache.org/jira/browse/DRILL-7494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17001850#comment-17001850 ] ASF GitHub Bot commented on DRILL-7494: --- KazydubB commented on issue #1938: DRILL-7494: Unable to connect to Drill using JDBC driver when using custom authenticator URL: https://github.com/apache/drill/pull/1938#issuecomment-568248470 LGTM, +1 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Unable to connect to Drill using JDBC driver when using custom authenticator > > > Key: DRILL-7494 > URL: https://issues.apache.org/jira/browse/DRILL-7494 > Project: Apache Drill > Issue Type: Bug >Affects Versions: 1.17.0 >Reporter: Vova Vysotskyi >Assignee: Vova Vysotskyi >Priority: Blocker > Fix For: 1.17.0 > > > Steps to reproduce: > Set up Drill with a custom authenticator as described here: > https://drill.apache.org/docs/creating-custom-authenticators/ > Try to connect using simple java client. > Connection hangs without any errors. It is caused by the fix for DRILL-6540 > where was excluded {{com.fasterxml.woodstox:woodstox-core}} but its classes > are used in {{org.apache.hadoop.conf.Configuration}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (DRILL-7494) Unable to connect to Drill using JDBC driver when using custom authenticator
[ https://issues.apache.org/jira/browse/DRILL-7494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17001759#comment-17001759 ] ASF GitHub Bot commented on DRILL-7494: --- vvysotskyi commented on pull request #1938: DRILL-7494: Unable to connect to Drill using JDBC driver when using custom authenticator URL: https://github.com/apache/drill/pull/1938 - Removed excluding `com.fasterxml.woodstox:woodstox-core` since it is used in Hadoop classes, for example in the `Configuration` class. - Fixed relocation pattern for `com.fasterxml.woodstox:woodstox-core` classes, since there wasn't package `com.fasterxml.woodstox`. - Replaced catching `Exception` with catching `Throwable` in `ConnectionMultiListener` since, for some cases, error may be thrown, for example, `NoClassDefFoundError` so it should be reported to the client correctly instead of hanging as it was before. - Added code to patch Guava for JDBC driver since Hadoop uses some methods from the new version absent in 1.19. - Added code to use the same class loader, which was used for loading patcher classes, for finding classes to patch instead of using system class loader since some clients use separate class loaders for loading and registering drivers. Jira - [DRILL-7494](https://issues.apache.org/jira/browse/DRILL-7494). 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Unable to connect to Drill using JDBC driver when using custom authenticator > > > Key: DRILL-7494 > URL: https://issues.apache.org/jira/browse/DRILL-7494 > Project: Apache Drill > Issue Type: Bug >Affects Versions: 1.17.0 >Reporter: Vova Vysotskyi >Assignee: Vova Vysotskyi >Priority: Blocker > Fix For: 1.17.0 > > > Steps to reproduce: > Set up Drill with a custom authenticator as described here: > https://drill.apache.org/docs/creating-custom-authenticators/ > Try to connect using simple java client. > Connection hangs without any errors. It is caused by the fix for DRILL-6540 > where was excluded {{com.fasterxml.woodstox:woodstox-core}} but its classes > are used in {{org.apache.hadoop.conf.Configuration}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (DRILL-7494) Unable to connect to Drill using JDBC driver when using custom authenticator
[ https://issues.apache.org/jira/browse/DRILL-7494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17001224#comment-17001224 ] Vova Vysotskyi commented on DRILL-7494: --- Another issue caused by the Hadoop upgrade is the problem with a Guava version mismatch. Moving back {{woodstox-core}} is not enough, the application hangs due to {{MethodNotFoundException}} in {{Preconditions}} class. Patching may be done in {{org.apache.drill.jdbc.Driver}} class, but it doesn't work as expected for the case of some class loaders, for example, it wouldn't work for SquirreLSql. Some time is required to find a way how to fix this limitation. > Unable to connect to Drill using JDBC driver when using custom authenticator > > > Key: DRILL-7494 > URL: https://issues.apache.org/jira/browse/DRILL-7494 > Project: Apache Drill > Issue Type: Bug >Affects Versions: 1.17.0 >Reporter: Vova Vysotskyi >Assignee: Vova Vysotskyi >Priority: Blocker > Fix For: 1.17.0 > > > Steps to reproduce: > Set up Drill with a custom authenticator as described here: > https://drill.apache.org/docs/creating-custom-authenticators/ > Try to connect using simple java client. > Connection hangs without any errors. It is caused by the fix for DRILL-6540 > where was excluded {{com.fasterxml.woodstox:woodstox-core}} but its classes > are used in {{org.apache.hadoop.conf.Configuration}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)