public DataConnector getDataConnector(String dcName) throws HiveException {
    try {
      return getMSC().getDataConnector(dcName);
    } catch (NoSuchObjectException e) {
      return null;
    } catch (Exception e) {
      throw new HiveException(e);
    }
  }
Get the dataconnector by name.
@param dcName the name of the dataconnector.
@return a DataConnector object if this dataconnector exists, null otherwise.
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java