adoroszlai commented on a change in pull request #649: HDDS-3120. Freon work
with OM HA.
URL: https://github.com/apache/hadoop-ozone/pull/649#discussion_r389925041
##########
File path:
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmKeyGenerator.java
##########
@@ -62,24 +63,44 @@
)
private ReplicationFactor factor = ReplicationFactor.THREE;
+ @Option(
+ names = "--om-service-id",
+ description = "OM Service ID"
+ )
+ private String omServiceID = null;
+
private OzoneManagerProtocol ozoneManagerClient;
private Timer timer;
@Override
public Void call() throws Exception {
- init();
+ OzoneClient rpcClient = null;
+ try {
+ init();
+
+ OzoneConfiguration ozoneConfiguration = createOzoneConfiguration();
+
+ rpcClient = createOzoneClient(omServiceID, ozoneConfiguration);
- OzoneConfiguration ozoneConfiguration = createOzoneConfiguration();
+ ensureVolumeAndBucketExist(rpcClient, volumeName, bucketName);
- ensureVolumeAndBucketExist(ozoneConfiguration, volumeName, bucketName);
+ System.out.print("Bharat " + omServiceID);
Review comment:
Leftover debug.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]