[
https://issues.apache.org/jira/browse/HDDS-2271?focusedWorklogId=327453&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-327453
]
ASF GitHub Bot logged work on HDDS-2271:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Oct/19 07:33
Start Date: 13/Oct/19 07:33
Worklog Time Spent: 10m
Work Description: elek commented on issue #1625: HDDS-2271. Avoid buffer
copying in KeyValueHandler.
URL: https://github.com/apache/hadoop/pull/1625#issuecomment-541394659
Thank you very much to open this pull request.
During the weekend the Ozone source code has been moved out from
[apache/hadoop](https://github.com/apache/hadoop) repository to
[apache/hadoop-ozone](https://github.com/apache/hadoop-ozone) repository.
This git commits are rewritten, but the branch of this pull request is also
transformed (state of Saturday morning), you can use the new, migrated branch
to recreate this pull request.
Your pull request is important for us: **Can you please re-create your pull
request in the new repository?**
**1**. Create a new fork of https://github.com/apache/hadoop-ozone
**2**. Clone it and have both your fork and the apache repo as remotes:
```
git clone [email protected]:szetszwo/hadoop-ozone.git
cd hadoop-ozone
git remote add apache [email protected]:apache/hadoop-ozone.git
git fetch apache
```
**3**. Fetch your migrated branch and push it to your fork.
```
git checkout -b HDDS-2271 apache/HDDS-2271
git push origin HDDS-2271
```
**4**. And create the new pull request on the new repository.
https://github.com/apache/hadoop-ozone/compare/master...szetszwo:HDDS-2271?expand=1
If you need more information, please check
[this](https://cwiki.apache.org/confluence/display/HADOOP/Hadoop+Ozone+source+tree+split)
wiki page or contact with me (my github user name + apache.org).
Thank you, and sorry for the inconvenience.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 327453)
Time Spent: 0.5h (was: 20m)
> Avoid buffer copying in KeyValueHandler
> ---------------------------------------
>
> Key: HDDS-2271
> URL: https://issues.apache.org/jira/browse/HDDS-2271
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> - In handleGetSmallFile, it first reads chunk data to a byte[] and the copy
> them to a ByteString.
> - In handlePutBlock/handleGetBlock, in order to get the length, it (1) builds
> a ContainerProtos.BlockData and then copies it to a byte[].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]