Hanisha Koneru created HDFS-14236:
-------------------------------------

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


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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to