You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Alex (JIRA)" <ji...@apache.org> on 2018/01/04 10:45:00 UTC
[jira] [Comment Edited] (DRILL-5910) Logging exception when custom
AuthenticatorFactory not found
[ https://issues.apache.org/jira/browse/DRILL-5910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16311151#comment-16311151 ]
Alex edited comment on DRILL-5910 at 1/4/18 10:44 AM:
------------------------------------------------------
The fix was tested (v. drill-1.13), status - *PASSED*:
- Another AuthenticatorFactory is used if 1 fails during establishing a connection to drillbit (nonexistent MapRSaslFactory was used during testing activity), the user is able to login/run queries
- The error message is logged to log/sqlline.log;
was (Author: malexx8):
The fix was tested (v. drill-1.13), status - *PASSED*:
- Another AuthenticatorFactory is used if 1 fails (nonexistent MapRSaslFactory was used during testing activity), the user is able to login/run queries
- The error message is logged to log/sqlline.log;
> Logging exception when custom AuthenticatorFactory not found
> -------------------------------------------------------------
>
> Key: DRILL-5910
> URL: https://issues.apache.org/jira/browse/DRILL-5910
> Project: Apache Drill
> Issue Type: Improvement
> Affects Versions: 1.11.0
> Reporter: Volodymyr Tkach
> Assignee: Volodymyr Tkach
> Priority: Minor
> Labels: ready-to-commit
> Fix For: 1.12.0
>
>
> We need to log the exception when any of custom AuthenticatorFactory fails to be instansiated in ClientAuthenticatorProvider constructor. We are doing this to allow drill to use other available AuthenticatorFactory
> Steps to repoduce:
> 1) Configure plain authentication
> 2) Add
> -Ddrill.customAuthFactories=org.apache.drill.exec.rpc.security.maprsasl.MapRSaslFactory to SQLLINE_JAVA_OPTS or another class that is not present in classpath.
> 3) Run sqlline and connect to drillbit
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)