@Override
  protected void doAlteration(DataConnector connector) {
    connector.setOwnerName(desc.getOwnerPrincipal().getName());
    connector.setOwnerType(desc.getOwnerPrincipal().getType());
  }
Operation process of altering a connector's owner.
ql/src/java/org/apache/hadoop/hive/ql/ddl/dataconnector/alter/owner/AlterDataConnectorSetOwnerOperation.java