[
https://issues.apache.org/jira/browse/HDFS-12000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079024#comment-16079024
]
Yiqun Lin commented on HDFS-12000:
----------------------------------
Thanks for the response, [~cheersyang]!
bq. That sounds a good idea but how we can tell if two files are same?
It's a good question. We can firstly compare the size of the uploaded file and
current version file, if the size is same, then calculate and compare the file
checksum of two files.
bq. Even if we have a neat way to, this will need to be done in every PUT
operation and compare with every previous versions, that's a lot of overhead.
I am thinking one simple way that we can just compare the new file with the
current version file.
But if we assume won't put the same file/object, the above improvement is not a
*MUST* work.
> Ozone: Container : Add key versioning support
> ---------------------------------------------
>
> Key: HDFS-12000
> URL: https://issues.apache.org/jira/browse/HDFS-12000
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Anu Engineer
> Assignee: Chen Liang
>
> The rest interface of ozone supports versioning of keys. This support comes
> from the containers and how chunks are managed to support this feature. This
> JIRA tracks that feature. Will post a detailed design doc so that we can talk
> about this feature.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]