[
https://issues.apache.org/jira/browse/HDFS-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558854#comment-14558854
]
Akira AJISAKA commented on HDFS-5033:
-------------------------------------
Thanks [~d4rr3ll] for taking this issue.
First comment: Would you remove whitespace changes as follows from the patch?
{code}
---
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java
+++
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java
@@ -65,7 +65,7 @@
/**
* convert an array of FileStatus to an array of Path
- *
+ *
* @param stats
* an array of FileStatus objects
* @return an array of paths corresponding to the input
{code}
> Bad error message for fs -put/copyFromLocal if user doesn't have permissions
> to read the source
> -----------------------------------------------------------------------------------------------
>
> Key: HDFS-5033
> URL: https://issues.apache.org/jira/browse/HDFS-5033
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0, 2.0.3-alpha
> Reporter: Karthik Kambatla
> Assignee: Darrell Taylor
> Priority: Minor
> Labels: newbie
> Attachments: HDFS-5033.001.patch
>
>
> fs -put/copyFromLocal shows a "No such file or directory" error when the user
> doesn't have permissions to read the source file/directory. Saying
> "Permission Denied" is more useful to the user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)