public class DriverUtils extends Object
| Constructor and Description |
|---|
DriverUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
runOnDriver(HiveConf conf,
String user,
SessionState sessionState,
String query,
org.apache.hadoop.hive.common.ValidWriteIdList writeIds) |
static SessionState |
setUpSessionState(HiveConf conf,
String user,
boolean doStart) |
public static void runOnDriver(HiveConf conf, String user, SessionState sessionState, String query, org.apache.hadoop.hive.common.ValidWriteIdList writeIds) throws HiveException
HiveExceptionpublic static SessionState setUpSessionState(HiveConf conf, String user, boolean doStart)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.