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

CR Hota edited comment on HDFS-12284 at 9/24/18 8:17 AM:
---------------------------------------------------------

[~elgoiri] [~zhengxg3] urlconnectionfactory takes care of creating an 
authenticatedurl and am able to get jmx stats WITHOUT doAs. Could you please 
share the issue you see when you don't do the doAs. I tried to get a connection 
using the below and it works in my test environment.
{code:java}
if (UserGroupInformation.isSecurityEnabled()) {
   conn = connectionFactory.openConnection(jmxURL, true);
}
{code}
 


was (Author: crh):
[~elgoiri] [~zhengxg3] urlconnectionfactory takes care of creating an 
authenticatedurl and am able to get jmx stats WITHOUT doAs. Can you share the 
issue you see when you don't do the doAs. I tried to get a connection using the 
below and it works in my test environment.
{code:java}
if (UserGroupInformation.isSecurityEnabled()) {
   conn = connectionFactory.openConnection(jmxURL, true);
}
{code}
 

> RBF: Support for Kerberos authentication
> ----------------------------------------
>
>                 Key: HDFS-12284
>                 URL: https://issues.apache.org/jira/browse/HDFS-12284
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: security
>            Reporter: Zhe Zhang
>            Assignee: Sherwood Zheng
>            Priority: Major
>         Attachments: HDFS-12284.000.patch, HDFS-12284.001.patch, 
> HDFS-12284.002.patch, HDFS-12284.003.patch
>
>
> HDFS Router should support Kerberos authentication and issuing / managing 
> HDFS delegation tokens.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to