hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Runping Qi (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-5362) hadoop fs -test -d should return different codes for difference cases
Date Sat, 28 Feb 2009 00:47:15 GMT
hadoop fs -test -d should return different codes for difference cases
---------------------------------------------------------------------

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



Currently, hadoop fs -test -d path  returns 0 for the case where path is a directory and -1
for all the other cases such as execution errors, path does not exists, and path is a file.
It is better to use different return codes to differentiate these cases.

Similar issues also apply to hadoop fs -test -e|z

  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message