Package com.facebook.hiveio.common

Examples of com.facebook.hiveio.common.HostPort


    HadoopNative.requireHadoopNative();

    args.process();
    chooseRecordPrinter();

    HostPort metastoreHostPort = getMetastoreHostPort();
    if (metastoreHostPort == null) {
      return;
    }

    LOG.info("Creating Hive client for Metastore at {}", metastoreHostPort);
View Full Code Here


   *
   * @return Metastore HostPort
   * @throws IOException
   */
  private HostPort getMetastoreHostPort() throws IOException {
    HostPort metastoreInfo;
    if (args.namespace.hasPath()) {
      metastoreInfo = args.namespace.readMetastoreInfo();
    } else {
      metastoreInfo = new HostPort(args.metastore.host, args.metastore.port);
    }
    return metastoreInfo;
  }
View Full Code Here

TOP

Related Classes of com.facebook.hiveio.common.HostPort

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.