You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Hanisha Koneru (JIRA)" <ji...@apache.org> on 2019/01/28 18:41:00 UTC

[jira] [Created] (HDFS-14236) Lazy persist copy/ put fails with ViewFs

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