You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2012/07/17 21:23:34 UTC

[jira] [Created] (HDFS-3674) Add method(s) which could test for the presence of an HDFS filesystem without authentication

Colin Patrick McCabe created HDFS-3674:
------------------------------------------

             Summary: 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

        

[jira] [Commented] (HDFS-3674) Add method(s) which could test for the presence of an HDFS filesystem without authentication

Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
    [ 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