fapifta commented on a change in pull request #2702:
URL: https://github.com/apache/ozone/pull/2702#discussion_r722095883
##########
File path:
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/BlockOutputStreamEntryPool.java
##########
@@ -156,10 +180,22 @@ void addKeyLocationInfo(OmKeyLocationInfo subKeyInfo) {
.setConfig(config)
.setLength(subKeyInfo.getLength())
.setBufferPool(bufferPool)
- .setToken(subKeyInfo.getToken());
- streamEntries.add(builder.build());
+ .setToken(subKeyInfo.getToken())
+ .build();
+
+ }
+
+ private void addKeyLocationInfo(OmKeyLocationInfo subKeyInfo) {
+ Preconditions.checkNotNull(subKeyInfo.getPipeline());
+ streamEntries.add(createStreamEntry(subKeyInfo));
}
+ /**
Review comment:
They are added through #2709, I will be removing these from this PR,
consequence is that this PR will be ready for review/merge after the master has
the changes and those are merged to the base EC branch.
--
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]