hadoop fs -put should return different code for different failures
------------------------------------------------------------------

                 Key: HADOOP-5242
                 URL: https://issues.apache.org/jira/browse/HADOOP-5242
             Project: Hadoop Core
          Issue Type: Improvement
          Components: dfs
    Affects Versions: 0.19.0
            Reporter: Runping Qi



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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to