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

Daryn Sharp commented on HDFS-3674:
-----------------------------------

Why not catch the SASL exception and consider that as success too?
                
> Add method(s) which could test for the presence of an HDFS filesystem without 
> authentication
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-3674
>                 URL: https://issues.apache.org/jira/browse/HDFS-3674
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client
>            Reporter: Colin Patrick McCabe
>            Priority: Minor
>
> It would be nice to have a method or methods in the HDFS client that could 
> test for the presence of an HDFS filesystem without requiring authentication. 
>  For example, in fuse_dfs, there is an option called -oinitchecks which tries 
> to test whether the configuration is correct by calling hdfsConnect 
> immediately after fuse starts.  However, this doesn't really work with 
> Kerberos, since root is probably not kinit'ed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to