You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Hanisha Koneru (JIRA)" <ji...@apache.org> on 2019/01/28 18:46:00 UTC
[jira] [Updated] (HDFS-14236) Lazy persist copy/ put fails with
ViewFs
[ https://issues.apache.org/jira/browse/HDFS-14236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hanisha Koneru updated HDFS-14236:
----------------------------------
Attachment: HDFS-14236.001.patch
> 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
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org