drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volodymyr Tkach (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-5910) Logging exception when AuthenticatorFactory not found
Date Mon, 30 Oct 2017 09:43:03 GMT

     [ https://issues.apache.org/jira/browse/DRILL-5910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Volodymyr Tkach updated DRILL-5910:
-----------------------------------
    Description: 
We need to log the exception when any of custom *AuthenticatorFactory*s fails to be instansiated
in ClientAuthenticatorProvider constructor. We are doing this to allow drill to use other
available *AuthenticatorFactory*(s)
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

  was:
We need to add factory name in exception message  when ClassNotFoundException is caught and
DrillRuntimeException is than re-thrown in ClientAuthenticatorProvider constructor.
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

        Summary: Logging exception when  AuthenticatorFactory not found  (was: ClassNotFoundException
message enhancement )

> Logging exception when  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
>             Fix For: 1.12.0
>
>
> We need to log the exception when any of custom *AuthenticatorFactory*s fails to be instansiated
in ClientAuthenticatorProvider constructor. We are doing this to allow drill to use other
available *AuthenticatorFactory*(s)
> 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)

Mime
View raw message