[
https://issues.apache.org/jira/browse/HDFS-13310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16537352#comment-16537352
]
Virajith Jalaparti commented on HDFS-13310:
-------------------------------------------
Thanks for the update [~ehiggs]. I made the following changes to
[^HDFS-13310-HDFS-12090.005.patch] to get [^HDFS-13310-HDFS-12090.006.patch].
If you are fine with this, I am +1 on the patch pending jenkins.
- Fixed whitespace and checkstyle errors
- Modified SyncTaskExecutionResult to use and return a read-only ByteBuffer
instead of byte[] (should fix the findbugs)
- Replaced the use of \{{Lists.newArrayListWithCapacity}} with
\{{ArrayList#ArrayList(int)}} in \{{PBHelper}}, and \{{Lists.newArrayList()}}
with \{{ArrayList#ArrayList()}}} in \{{NameNodeAdapter}}.
> [PROVIDED Phase 2] The DatanodeProtocol should be have DNA_BACKUP to backup
> blocks
> ----------------------------------------------------------------------------------
>
> Key: HDFS-13310
> URL: https://issues.apache.org/jira/browse/HDFS-13310
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Ewan Higgs
> Assignee: Ewan Higgs
> Priority: Major
> Attachments: HDFS-13310-HDFS-12090.001.patch,
> HDFS-13310-HDFS-12090.002.patch, HDFS-13310-HDFS-12090.003.patch,
> HDFS-13310-HDFS-12090.004.patch, HDFS-13310-HDFS-12090.005.patch,
> HDFS-13310-HDFS-12090.006.patch
>
>
> As part of HDFS-12090, Datanodes should be able to receive DatanodeCommands
> in the heartbeat response that instructs it to backup a block.
> This should take the form of two sub commands: PUT_FILE (when the file is <=1
> block in size) and MULTIPART_PUT_PART when part of a Multipart Upload (see
> HDFS-13186).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]