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

Todd Lipcon commented on HADOOP-8787:
-------------------------------------

Thanks for looking at this, Ted. I don't think the patch is quite sufficient, 
because the variables you've interpolated are missing the 'prefix' that is 
actually in the hadoop configuration. ie it will just print 
"kerberos.principal" is missing, rather than the full one like 
"dfs.web.authentication.kerberos.principal". You'll have to plumb the prefix 
through from AuthenticationFilter somehow to get the proper error message.
                
> KerberosAuthenticationHandler should include missing property names in 
> configuration
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8787
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8787
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 1.0.3, 3.0.0, 2.0.1-alpha
>            Reporter: Todd Lipcon
>            Assignee: Ted Malaska
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-8787-0.patch, HADOOP-8787-1.patch
>
>
> Currently, if the spnego keytab is missing from the configuration, the user 
> gets an error like: "javax.servlet.ServletException: Principal not defined in 
> configuration". This should be augmented to actually show the configuration 
> variable which is missing. Otherwise it is hard for a user to know what to 
> fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to