HDDS-139. Output of createVolume can be improved. Contributed by Shweta.
This commit is contained in:
parent
fe29b3901b
commit
f426b7ce8f
|
@ -270,8 +270,12 @@ public class RpcClient implements ClientProtocol, KeyProviderTokenIssuer {
|
||||||
builder.addOzoneAcls(OMPBHelper.convertOzoneAcl(ozoneAcl));
|
builder.addOzoneAcls(OMPBHelper.convertOzoneAcl(ozoneAcl));
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG.info("Creating Volume: {}, with {} as owner and quota set to {} bytes.",
|
if (volArgs.getQuota() == null) {
|
||||||
volumeName, owner, quota);
|
LOG.info("Creating Volume: {}, with {} as owner.", volumeName, owner);
|
||||||
|
} else {
|
||||||
|
LOG.info("Creating Volume: {}, with {} as owner "
|
||||||
|
+ "and quota set to {} bytes.", volumeName, owner, quota);
|
||||||
|
}
|
||||||
ozoneManagerClient.createVolume(builder.build());
|
ozoneManagerClient.createVolume(builder.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue