[
https://issues.apache.org/jira/browse/HADOOP-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840395#action_12840395
]
Hadoop QA commented on HADOOP-6569:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12437641/optimizeCat.patch
against trunk revision 917737.
+1 @author. The patch does not contain any @author tags.
-1 tests included. 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.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac
compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 release audit. The applied patch does not increase the total number of
release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/402/testReport/
Findbugs warnings:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/402/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/402/artifact/trunk/build/test/checkstyle-errors.html
Console output:
http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/402/console
This message is automatically generated.
> FsShell#cat should avoid calling unecessary getFileStatus before opening a
> file to read
> ---------------------------------------------------------------------------------------
>
> Key: HADOOP-6569
> URL: https://issues.apache.org/jira/browse/HADOOP-6569
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: 0.22.0
>
> Attachments: optimizeCat-yahoo.patch, optimizeCat-yahoo1.patch,
> optimizeCat-yahoo2.patch, optimizeCat.patch, optimizeCat.patch
>
>
> Since FileSystem#open throws a FileNotFoundException when the file to be read
> does not exist, there is no need to check if the file is a directory or not
> before open. In case of HDFS, this could reduce one getFileInfo RPC to
> NameNode.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.