[ 
https://issues.apache.org/jira/browse/HDFS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer resolved HDFS-332.
-----------------------------------

    Resolution: Won't Fix

Returning -1 for failure at the shell is pretty normal. Won't fix.

> hadoop fs -put should return different code for different failures
> ------------------------------------------------------------------
>
>                 Key: HDFS-332
>                 URL: https://issues.apache.org/jira/browse/HDFS-332
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Runping Qi
>            Assignee: Ravi Phulari
>
> hadoop fs -put may fail due to different reasons, such as the source file 
> does not exist, the destination file already exists, permission denied, or 
> exceptions during writing.
> However, it returns the same code (-1), making it impossible to tell what is 
> the actual cause of the failure.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to