[ 
https://issues.apache.org/jira/browse/DRILL-6332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16995587#comment-16995587
 ] 

ASF GitHub Bot commented on DRILL-6332:
---------------------------------------

j-4 commented on pull request #1931: Fixes DRILL-6332 by allowing to provide 
two-component principals
URL: https://github.com/apache/drill/pull/1931
 
 
   Currently drill only allows for three-component kerberos principals 
`primary/instance@REALM`
   I had the requirement to deal with two-part principals `primary@REALM` and 
thus made these little changes to the principal checks. This enables drill to 
deal with two- and three-part principals.
   
   Behaviour: The principal splitting function will return an empty string for 
`instance` if only a two-component principal is given.
 
----------------------------------------------------------------
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]


> DrillbitStartupException: Failure while initializing values in Drillbit
> -----------------------------------------------------------------------
>
>                 Key: DRILL-6332
>                 URL: https://issues.apache.org/jira/browse/DRILL-6332
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components:  Server
>    Affects Versions: 1.10.0
>            Reporter: Hari Sekhon
>            Priority: Major
>         Attachments: 01.patch
>
>
> Improvement request to make this error more specific so we can tell what is 
> causing it:
> {code:java}
> ==> /opt/mapr/drill/drill-1.10.0/logs/drillbit.out <==
> Exception in thread "main" 
> org.apache.drill.exec.exception.DrillbitStartupException: Failure while 
> initializing values in Drillbit.
> at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:287)
> at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:271)
> at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:267)
> Caused by: java.lang.IllegalStateException
> at com.google.common.base.Preconditions.checkState(Preconditions.java:158)
> at 
> org.apache.drill.common.KerberosUtil.splitPrincipalIntoParts(KerberosUtil.java:59)
> at 
> org.apache.drill.exec.server.BootStrapContext.login(BootStrapContext.java:130)
> at 
> org.apache.drill.exec.server.BootStrapContext.<init>(BootStrapContext.java:77)
> at org.apache.drill.exec.server.Drillbit.<init>(Drillbit.java:94)
> at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:285)
> ... 2 more
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to