hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4104) dfs -test -d prints inappropriate error on nonexistent directory
Date Thu, 15 Nov 2012 16:06:14 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498094#comment-13498094
] 

Hudson commented on HDFS-4104:
------------------------------

Integrated in Hadoop-trunk-Commit #3024 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/3024/])
    HDFS-4104. dfs -test -d prints inappropriate error on nonexistent directory (Andy Isaacson
via daryn) (Revision 1409848)

     Result = SUCCESS
daryn : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1409848
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Test.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml

                
> dfs -test -d prints inappropriate error on nonexistent directory
> ----------------------------------------------------------------
>
>                 Key: HDFS-4104
>                 URL: https://issues.apache.org/jira/browse/HDFS-4104
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.2-alpha
>            Reporter: Andy Isaacson
>            Assignee: Andy Isaacson
>            Priority: Minor
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: hdfs4104-2.txt, hdfs4104-3.txt, hdfs4104-4.txt, hdfs-4104.txt
>
>
> Running {{hdfs dfs -test -d foo}} should return 0 or 1 as appropriate. It should not
generate any output due to missing files.  Alas, it prints an error message when {{foo}} does
not exist.
> {code}
> $ hdfs dfs -test -d foo; echo $?
> test: `foo': No such file or directory
> 1
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message