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

Abhishek Das edited comment on HDFS-15426 at 6/22/20, 2:51 AM:
---------------------------------------------------------------

[~ayushtkn] As [~umamaheswararao]  mentioned, looks like the error is similar 
to HADOOP-17032 Can you please review this the changes in HADOOP-17032 when you 
get a chance. Thanks in advance.


was (Author: abhishekd):
[~ayushtkn] Looks like the error is similar to 
https://issues.apache.org/jira/browse/HADOOP-17032. Can you please review this 
the changes in HADOOP-17032 when you get a chance. Thanks in advance.

> Fix ContentSummary for mount links in ViewFileSystemOverloadScheme
> ------------------------------------------------------------------
>
>                 Key: HDFS-15426
>                 URL: https://issues.apache.org/jira/browse/HDFS-15426
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: viewfs, viewfsOverloadScheme
>            Reporter: Ayush Saxena
>            Priority: Major
>
> Ex. Mount Table has only two entries.  /dir/int
> getContentSummary on / throws :
> {noformat}
> java.io.IOException: Internal implementation error: expected file name to be 
> /        at 
> org.apache.hadoop.fs.viewfs.ViewFileSystem$InternalDirOfViewFs.checkPathIsSlash(ViewFileSystem.java:1148)
>       at 
> org.apache.hadoop.fs.viewfs.ViewFileSystem$InternalDirOfViewFs.getFileStatus(ViewFileSystem.java:1215)
>       at 
> org.apache.hadoop.fs.FileSystem.getContentSummary(FileSystem.java:1788)
>       at 
> org.apache.hadoop.fs.FileSystem.getContentSummary(FileSystem.java:1799)
>       at 
> org.apache.hadoop.fs.viewfs.ViewFileSystem.getContentSummary(ViewFileSystem.java:892)
> {noformat}
> The getContentSummary on / gets /dir, /dir has isDirectory true, so again 
> getContentSummary on /dir is called. But the filesystem is Internal View FS 
> and expects the path to be / only



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to