hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-332) hadoop fs -put should return different code for different failures
Date Mon, 21 Jul 2014 20:02:38 GMT

     [ 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)

Mime
View raw message