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

Daryn Sharp commented on HDFS-3483:
-----------------------------------

If I'm understanding correctly, one issue with making fsck work with 
{{ViewFileSystem}} if all underlying filesystems are DFS is that viewfs doesn't 
expose a way to find the underlying fs for a path.  I'm not sure that 
functionality should be exposed.  A possibly clean way is for viewfs/filterfs 
to do a passthru of a fsck method to the underlying fs.

I agree that at a minimum the error message should be clearer, not just for 
viewfs but for any other fs.
                
> hdfs fsck doesn't run with ViewFS path
> --------------------------------------
>
>                 Key: HDFS-3483
>                 URL: https://issues.apache.org/jira/browse/HDFS-3483
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Stephen Chu
>              Labels: newbie
>         Attachments: core-site.xml, hdfs-site.xml
>
>
> I'm running a HA + secure + federated cluster.
> When I run "hdfs fsck /nameservices/ha-nn-uri/", I see the following:
> bash-3.2$ hdfs fsck /nameservices/ha-nn-uri/
> FileSystem is viewfs://oracle/
> DFSck exiting.
> Any path I enter will return the same message.
> Attached are my core-site.xml and hdfs-site.xml.

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