[
https://issues.apache.org/jira/browse/HDFS-11301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15812524#comment-15812524
]
Hudson commented on HDFS-11301:
-------------------------------
FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #11091 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/11091/])
HDFS-11301. Double wrapping over RandomAccessFile in (arp: rev
91bf504440967ccdff1cb1cbe7801a5ce2ba88ab)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/LocalReplicaInPipeline.java
> Double wrapping over RandomAccessFile in LocalReplicaInPipeline#createStreams
> -----------------------------------------------------------------------------
>
> Key: HDFS-11301
> URL: https://issues.apache.org/jira/browse/HDFS-11301
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs
> Reporter: Hanisha Koneru
> Assignee: Hanisha Koneru
> Priority: Minor
> Fix For: 3.0.0-alpha2
>
> Attachments: HDFS-11301.000.patch
>
>
> In LocalReplicaInPipeline#createStreams, there is a WrappedFileOutputStream
> created over a WrappedRandomAccessFile. This double layer of instrumentation
> is unnecessary.
> {quote}
> blockOut = fileIoProvider.getFileOutputStream(getVolume(),
> fileIoProvider.getRandomAccessFile(getVolume(), blockFile, "rw")
> .getFD());
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]