hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-1227) Avoid extra buffer copy during checksum computation in write Path
Date Fri, 08 Mar 2019 22:35:00 GMT

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

Anu Engineer updated HDDS-1227:
-------------------------------
    Labels: pushed-to-craterlake  (was: )

> Avoid extra buffer copy during checksum computation in write Path
> -----------------------------------------------------------------
>
>                 Key: HDDS-1227
>                 URL: https://issues.apache.org/jira/browse/HDDS-1227
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Client
>    Affects Versions: 0.4.0
>            Reporter: Shashikant Banerjee
>            Assignee: Shashikant Banerjee
>            Priority: Major
>              Labels: pushed-to-craterlake
>             Fix For: 0.4.0
>
>
> The code here does a buffer copy to to compute checksum. This needs to be avoided.
> {code:java}
> /**
>  * Computes checksum for give data.
>  * @param byteString input data in the form of ByteString.
>  * @return ChecksumData computed for input data.
>  */
> public ChecksumData computeChecksum(ByteString byteString)
>     throws OzoneChecksumException {
>   return computeChecksum(byteString.toByteArray());
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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