[
https://issues.apache.org/jira/browse/HDFS-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724202#comment-13724202
]
Hadoop QA commented on HDFS-5043:
---------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12595003/HDFS-5043.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{color:red}-1 javac{color:red}. The patch appears to cause the build to
fail.
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/4748//console
This message is automatically generated.
> 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
> Attachments: HDFS-5043.patch
>
>
> 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