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

Hanisha Koneru commented on HDDS-266:
-------------------------------------

Thanks for the review [~nandakumar131].
I have addressed your comments and fixed the license warning in patch v04.

Also added DUMMY_CHECKSUM to store the 0 byte array.
{code:java}
private static final String DUMMY_CHECKSUM = new String(new byte[64],
    CHARSET_ENCODING);
public void setChecksumTo0ByteArray() {
    this.checksum = DUMMY_CHECKSUM;
  }
{code}

> Integrate checksum into .container file
> ---------------------------------------
>
>                 Key: HDDS-266
>                 URL: https://issues.apache.org/jira/browse/HDDS-266
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-266.001.patch, HDDS-266.002.patch, 
> HDDS-266.003.patch, HDDS-266.004.patch
>
>
> Currently, each container metadata has 2 files - .container and .checksum 
> file.
> In this Jira, we propose to integrate the checksum into the .container file 
> itself. This will help with synchronization during container updates.



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