guihecheng commented on code in PR #3420:
URL: https://github.com/apache/ozone/pull/3420#discussion_r877093307
##########
hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/keyvalue/TestKeyValueBlockIterator.java:
##########
@@ -79,16 +81,30 @@ public class TestKeyValueBlockIterator {
private String datanodeID = UUID.randomUUID().toString();
private String clusterID = UUID.randomUUID().toString();
- public TestKeyValueBlockIterator(ContainerTestVersionInfo versionInfo) {
+ public TestKeyValueBlockIterator(ContainerTestVersionInfo versionInfo,
+ String keySeparator) {
this.layout = versionInfo.getLayout();
this.schemaVersion = versionInfo.getSchemaVersion();
this.conf = new OzoneConfiguration();
ContainerTestVersionInfo.setTestSchemaVersion(schemaVersion, conf);
+ DatanodeConfiguration dc = conf.getObject(DatanodeConfiguration.class);
+ dc.setContainerSchemaV3KeySeparator(keySeparator);
Review Comment:
```suggestion
dc.setContainerSchemaV3KeySeparator(keySeparator);
conf.setFromObject(dc);
```
--
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]