szetszwo commented on code in PR #10279:
URL: https://github.com/apache/ozone/pull/10279#discussion_r3249996828
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/DeletedBlockLogStateManager.java:
##########
@@ -76,7 +75,4 @@ Table.KeyValueIterator<Long, DeletedBlocksTransaction>
getReadOnlyIterator()
void reinitialize(Table<Long, DeletedBlocksTransaction> deletedBlocksTXTable,
Table<String, ByteString> statefulConfigTable);
- static void main(String[] args) {
- ScmInvokerCodeGenerator.generate(DeletedBlockLogStateManager.class, true);
- }
Review Comment:
Let's add the code somewhere in test. We may have a new class below
```java
class ScmInvokerCodeGeneratorMains {
static class GenerateDeletedBlockLogStateManager {
static void main(String[] args) {
ScmInvokerCodeGenerator.generate(DeletedBlockLogStateManager.class,
true);
}
}
}
```
--
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]