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

Hudson commented on HDFS-14236:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15848 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/15848/])
HDFS-14236. Lazy persist copy/ put fails with ViewFs. (hanishakoneru: rev 
b3bc94ebfd7cbf959bd33b8d85be80c4a8a46574)
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java


> Lazy persist copy/ put fails with ViewFs
> ----------------------------------------
>
>                 Key: HDFS-14236
>                 URL: https://issues.apache.org/jira/browse/HDFS-14236
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: fs
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: HDFS-14236.001.patch
>
>
> The hdfs copy or put command with the lazy persist option ('-l') fails with 
> ViewFs. 
> {code:java}
> $ hdfs dfs -copyFromLocal /etc/hosts /viewFsMountPoint1/dir1/
> org.apache.hadoop.fs.viewfs.NotInMountpointException: getDefaultBlockSize on 
> empty path is invalid
> at 
> org.apache.hadoop.fs.viewfs.ViewFileSystem.getDefaultBlockSize(ViewFileSystem.java:695)
> at 
> org.apache.hadoop.fs.FilterFileSystem.getDefaultBlockSize(FilterFileSystem.java:420)
> at 
> org.apache.hadoop.fs.shell.CommandWithDestination$TargetFileSystem.create(CommandWithDestination.java:505)
> at 
> .......{code}
> This happens because {{ViewFileSystem#getDefaultBlockSize()}} throws a 
> {{NotInMountpointException}}.



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

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