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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/07/21 22:02:38 UTC
[jira] [Resolved] (HDFS-332) hadoop fs -put should return different
code for different failures
[ 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)