[ 
https://issues.apache.org/jira/browse/HDDS-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16772802#comment-16772802
 ] 

Shashikant Banerjee commented on HDDS-1095:
-------------------------------------------

[~msingh],Thanks for updating the patch. I have two minor comments. Rest all 
looks good to me.

1) ScmBlockLocationProtocolClientSideTranslatorPB.java : The javadoc needs to 
be updated here accordingly.

2) Let's have the block allocation limit (equal to a container size), so that 
we don't ever hit the hadoop rpc payload limit in case.

> OzoneManager#openKey should do multiple block allocations in a single SCM rpc 
> call
> ----------------------------------------------------------------------------------
>
>                 Key: HDDS-1095
>                 URL: https://issues.apache.org/jira/browse/HDDS-1095
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: SCM
>    Affects Versions: 0.4.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>            Priority: Major
>             Fix For: 0.4.0
>
>         Attachments: HDDS-1095.001.patch, HDDS-1095.002.patch
>
>
> Currently in KeyManagerImpl#openKey, for a large key allocation, multiple 
> blocks are allocated in different rpc calls. If the key length is already 
> known, then multiple blocks can be allocated in one rpc call to SCM.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to