hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Lamb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6422) getfattr in CLI doesn't throw exception or return non-0 return code when xattr doesn't exist
Date Fri, 16 May 2014 22:32:15 GMT
Charles Lamb created HDFS-6422:
----------------------------------

             Summary: getfattr in CLI doesn't throw exception or return non-0 return code
when xattr doesn't exist
                 Key: HDFS-6422
                 URL: https://issues.apache.org/jira/browse/HDFS-6422
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Charles Lamb


If you do

hdfs dfs -getfattr -n user.blah /foo

and user.blah doesn't exist, the command prints

# file: /foo

and a 0 return code.

It should print an exception and return a non-0 return code instead.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message