hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5043) For HdfsFileStatus, set default value of childrenNum to -1 instead of 0 to avoid confusing applications
Date Mon, 29 Jul 2013 23:33:48 GMT
Brandon Li created HDFS-5043:
--------------------------------

             Summary: For HdfsFileStatus, set default value of childrenNum to -1 instead of
0 to avoid confusing applications
                 Key: HDFS-5043
                 URL: https://issues.apache.org/jira/browse/HDFS-5043
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Brandon Li
            Assignee: Brandon Li


Per discussion in HDFS-4772, default value 0 can confuse application since it doesn't know
the server doesn't support childNum or the directory has no child.
Use -1 instead to avoid this confusion.

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