public class TezSessionPoolManager extends Object
Modifier | Constructor and Description |
---|---|
protected |
TezSessionPoolManager() |
Modifier and Type | Method and Description |
---|---|
void |
close(TezSessionState tezSessionState,
boolean keepTmpDir) |
void |
closeAndOpen(TezSessionState sessionState,
HiveConf conf,
boolean keepTmpDir) |
void |
closeAndOpen(TezSessionState sessionState,
HiveConf conf,
String[] additionalFiles,
boolean keepTmpDir) |
protected TezSessionState |
createSession(String sessionId) |
static TezSessionPoolManager |
getInstance() |
List<TezSessionState> |
getOpenSessions() |
TezSessionState |
getSession(TezSessionState session,
HiveConf conf,
boolean doOpen) |
TezSessionState |
getSession(TezSessionState session,
HiveConf conf,
boolean doOpen,
boolean forceCreate) |
void |
returnSession(TezSessionState tezSessionState) |
void |
setupPool(HiveConf conf) |
void |
startPool() |
void |
stop() |
public static TezSessionPoolManager getInstance() throws Exception
Exception
public void setupPool(HiveConf conf) throws InterruptedException
InterruptedException
public void returnSession(TezSessionState tezSessionState) throws Exception
Exception
public void close(TezSessionState tezSessionState, boolean keepTmpDir) throws Exception
Exception
protected TezSessionState createSession(String sessionId)
public TezSessionState getSession(TezSessionState session, HiveConf conf, boolean doOpen) throws Exception
Exception
public TezSessionState getSession(TezSessionState session, HiveConf conf, boolean doOpen, boolean forceCreate) throws Exception
Exception
public void closeAndOpen(TezSessionState sessionState, HiveConf conf, boolean keepTmpDir) throws Exception
Exception
public void closeAndOpen(TezSessionState sessionState, HiveConf conf, String[] additionalFiles, boolean keepTmpDir) throws Exception
Exception
public List<TezSessionState> getOpenSessions()
Copyright © 2017 The Apache Software Foundation. All rights reserved.