[
https://issues.apache.org/jira/browse/DRILL-7494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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:
[email protected]
> 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)