ChenSammi commented on code in PR #7221:
URL: https://github.com/apache/ozone/pull/7221#discussion_r1772491488


##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/MultipartInputStream.java:
##########
@@ -173,6 +178,28 @@ public synchronized void seek(long pos) throws IOException 
{
     prevPartIndex = partIndex;
   }
 
+  public synchronized void initialize() throws IOException {

Review Comment:
   If HBase reader needs read to the length of output stream when reader is 
instantiated, then we don't have to handle the two cases mentioned above.  And 
this patch looks good to me. Thanks @jojochuang . 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to