You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2019/06/10 19:59:00 UTC

[jira] [Assigned] (HDDS-1666) Issue in openKey when allocating block

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

Bharat Viswanadham reassigned HDDS-1666:
----------------------------------------

    Assignee: Bharat Viswanadham

> Issue in openKey when allocating block
> --------------------------------------
>
>                 Key: HDDS-1666
>                 URL: https://issues.apache.org/jira/browse/HDDS-1666
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>
> We set size as below
> final long size = args.getDataSize() >= 0 ?
>  args.getDataSize() : scmBlockSize;
>  
> and create OmKeyInfo with below size set. But when allocating Block for openKey, we use as below.
> allocateBlockInKey(keyInfo, args.getDataSize(), currentTime);
>  
> I feel here, we should use size which is set above so that we allocate at least a block when the openKey call happens.



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