Package org.apache.hadoop.hive.ql.history

Examples of org.apache.hadoop.hive.ql.history.HiveHistory$TaskInfo


      // Iterate through the opHandles and close their operations
      for (OperationHandle opHandle : opHandleSet) {
        operationManager.closeOperation(opHandle);
      }
      opHandleSet.clear();
      HiveHistory hiveHist = sessionState.getHiveHistory();
      if (null != hiveHist) {
        hiveHist.closeStream();
      }
      sessionState.close();
      release();
    } catch (IOException ioe) {
      release();
View Full Code Here


   * @throws HiveException
   */
  public static SessionState start(HiveConf conf) throws HiveException {
    SessionState ss = new SessionState(conf);
    ss.getConf().setVar(HiveConf.ConfVars.HIVESESSIONID, makeSessionId());
    ss.hiveHist = new HiveHistory(ss);
    ss.authenticator = HiveUtils.getAuthenticator(conf);
    ss.authorizer = HiveUtils.getAuthorizeProviderManager(
        conf, ss.authenticator);
    ss.createTableGrants = CreateTableAutomaticGrant.create(conf);
    tss.set(ss);
View Full Code Here

      startSs.getConf()
          .setVar(HiveConf.ConfVars.HIVESESSIONID, makeSessionId());
    }

    if (startSs.hiveHist == null) {
      startSs.hiveHist = new HiveHistory(startSs);
    }
   
    try {
      startSs.authenticator = HiveUtils.getAuthenticator(startSs
          .getConf());
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hive.ql.history.HiveHistory$TaskInfo

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.