hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11301) Double wrapping over RandomAccessFile in LocalReplicaInPipeline#createStreams
Date Mon, 09 Jan 2017 18:33:58 GMT

     [ https://issues.apache.org/jira/browse/HDFS-11301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Agarwal updated HDFS-11301:
---------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0-alpha2
           Status: Resolved  (was: Patch Available)

Committed to trunk. The test failures look unrelated.

Thanks for the contribution [~hanishakoneru].

> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message