Package org.apache.hadoop.hive.service

Examples of org.apache.hadoop.hive.service.HiveClient.shutdown()


      return action.doInHive(hiveClient);
    } catch (Exception ex) {
      throw convertHiveAccessException(ex);
    } finally {
      try {
        hiveClient.shutdown();
      } catch (Exception ex) {
        // ignore for now
      }
    }
  }
View Full Code Here


      throw translateExcpetion(ex);
    } catch (org.apache.thrift.TException tex) {
      throw translateExcpetion(tex);
    } finally {
      try {
        hiveClient.shutdown();
      } catch (org.apache.thrift.TException tex) {
        logger.debug(
            "Unexpected exception on shutting down HiveClient", tex);
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.