Uh oh!
There was an error while loading. Please reload this page.
HDDS-1496. Support partial chunk reads and checksum verification - #804
Conversation
This comment has been minimized.
This comment has been minimized.
hanishakoneru
commented
May 9, 2019
This patch requires more changes (after HDDS-1491 which fixes seek operation).
|
hanishakoneru
commented
May 14, 2019
@bshashikant , @arp7 |
hanishakoneru
commented
May 14, 2019
Merger HDDS-1491 and updated this PR to include only changes for this Jira. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
hanishakoneru
commented
May 23, 2019
Introduced ChunkInputStream and separated the chunk reads from BlockInputStream. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
NIT: Existing only, but is java doc needs to be modified? As it is saying used by Rest Service and ScmClient.
This is used by KeyInputStream, and RpcClient also uses this, for reading data from container chunks we talk to datanode using storageContainer protocol client.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Why here returning false, read Javadoc not completely clear of this?
There was a problem hiding this comment.
I think returning false here as we do not implement it.
There was a problem hiding this comment.
Same as above java doc description needs modification.
Uh oh!
There was an error while loading. Please reload this page.
bharatviswa504
left a comment
There was a problem hiding this comment.
I have some minor comments. Still reviewing ChunkInputStream class.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bharatviswa504
left a comment
There was a problem hiding this comment.
Hi @hanishakoneru
Thanks for the improvement.
I have a few minor comments.
This comment has been minimized.
This comment has been minimized.
Redesigned Ozone InputStreams Fixes review comments and CI fixes Findbug and checkstyle fixes
This comment has been minimized.
This comment has been minimized.
hanishakoneru
commented
Jun 5, 2019
/retest |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| if (initialized) { | ||
| return; | ||
| } | ||
| Preconditions.checkArgument(chunkOffsets == null); |
There was a problem hiding this comment.
Do we need this Precondition check?
There was a problem hiding this comment.
Just extra precaution so that if new methods are implemented then the stream is not initialized twice. It is not necessary for now though. Removed it.
Uh oh!
There was an error while loading. Please reload this page.
bharatviswa504
commented
Jun 5, 2019
Hi @hanishakoneru |
There was a problem hiding this comment.
Thanks for the update @hanishakoneru
+1 LGTM, pending CI.
hanishakoneru
commented
Jun 6, 2019
/retest |
hadoop-yetus
commented
Jun 6, 2019
💔 -1 overall
This message was automatically generated. |
hanishakoneru
commented
Jun 7, 2019
Thank you @bharatviswa504 for the reviews. |
hadoop-yetus
commented
Jun 7, 2019
💔 -1 overall
This message was automatically generated. |
Partial chunk reads and checksum verifications