[
https://issues.apache.org/jira/browse/HADOOP-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506239
]
Hadoop QA commented on HADOOP-1453:
-----------------------------------
-1, build or testing failed
2 attempts failed to build and test the latest attachment
http://issues.apache.org/jira/secure/attachment/12360067/HADOOP-1453-02.patch
against trunk revision r548523.
Test results:
http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/298/testReport/
Console output:
http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/298/console
Please note that this message is automatically generated and may represent a
problem with the automation system and not the patch.
> exists() not necessary before DFS.open
> --------------------------------------
>
> Key: HADOOP-1453
> URL: https://issues.apache.org/jira/browse/HADOOP-1453
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Reporter: Raghu Angadi
> Assignee: Raghu Angadi
> Fix For: 0.14.0
>
> Attachments: HADOOP-1453-01.patch, HADOOP-1453-02.patch,
> HADOOP-1453-02.patch
>
>
> {code:title=DistributedFileSystem.java:131|borderStyle=solid}
> public FSDataInputStream open(Path f, int bufferSize) throws IOException {
> if (!exists(f)) {
> throw new FileNotFoundException(f.toString());
> }
> return new DFSClient.DFSDataInputStream(dfs.open(getPath(f)),
> bufferSize);
> }
> {code}
> {{exists(f)}} adds extra namenode interaction that is not really required.
> Open is a critical DFS call.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.