// TODO: If you don't have OM HA configured, change the following as appropriate.
static OzoneClient getOzoneClient(boolean secure) throws IOException {
    OzoneConfiguration conf = new OzoneConfiguration();
    // TODO: If you don't have OM HA configured, change the following as appropriate.
    conf.set("ozone.om.address", "9.29.173.57:9862");
    if (disableChecksum)
      conf.set("ozone.client.checksum.type", "NONE");
    return OzoneClientFactory.getRpcClient(conf);
  }
static OzoneClient getOzoneClient(boolean secure) throws IOException {
OzoneConfiguration conf = new OzoneConfiguration();
// TODO: If you don't have OM HA configured, change the following as appropriate.
conf.set("ozone.om.address", "9.29.173.57:9862");
if (disableChecksum)
static OzoneClient getOzoneClient(boolean secure) throws IOException {
OzoneConfiguration conf = new OzoneConfiguration();
// TODO: If you don't have OM HA configured, change the following as appropriate.
conf.set("ozone.om.address", "9.29.173.57:9862");
if (disableChecksum)
conf.set("ozone.client.checksum.type", "NONE");
return OzoneClientFactory.getRpcClient(conf);
}
static OzoneClient getOzoneClient(boolean secure) throws IOException {
OzoneConfiguration conf = new OzoneConfiguration();
// TODO: If you don't have OM HA configured, change the following as appropriate.
conf.set("ozone.om.address", "9.29.173.57:9862");
if (disableChecksum)
conf.set("ozone.client.checksum.type", "NONE");
return OzoneClientFactory.getRpcClient(conf);
}