|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.local.LocalOozie
public class LocalOozie
LocalOozie runs workflows in an embedded Oozie instance .
LocalOozie is meant for development/debugging purposes only.
Constructor Summary | |
---|---|
LocalOozie()
|
Method Summary | |
---|---|
static org.apache.oozie.client.OozieClient |
getClient()
Return a OozieClient for LocalOozie. |
static org.apache.oozie.client.OozieClient |
getClient(String user)
Return a OozieClient for LocalOozie configured for a given user. |
static org.apache.oozie.client.OozieClient |
getClientCoord(String user)
Return a OozieClient for LocalOozie
configured for a given user. |
static org.apache.oozie.client.OozieClient |
getCoordClient()
Return a OozieClient for LocalOozie. |
static void |
start()
Start LocalOozie. |
static void |
stop()
Stop LocalOozie. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalOozie()
Method Detail |
---|
public static void start() throws Exception
Exception
- if LocalOozie could not be started.public static void stop()
public static org.apache.oozie.client.OozieClient getClient()
OozieClient
for LocalOozie. The returned instance is configured
with the user name of the JVM (the value of the system property 'user.name'). The following methods of the
client are NOP in the returned instance: OozieClient.validateWSVersion()
, OozieClient.setHeader(java.lang.String, java.lang.String)
, OozieClient.getHeader(java.lang.String)
, OozieClient.removeHeader(java.lang.String)
, OozieClient.getHeaderNames()
and
org.apache.oozie.client.OozieClient#setSafeMode
.
OozieClient
for LocalOozie.public static org.apache.oozie.client.OozieClient getCoordClient()
OozieClient
for LocalOozie.
The returned instance is configured with the user name of the JVM (the
value of the system property 'user.name').
The following methods of the client are NOP in the returned instance:
OozieClient.validateWSVersion()
,
OozieClient.setHeader(java.lang.String, java.lang.String)
,
OozieClient.getHeader(java.lang.String)
,
OozieClient.removeHeader(java.lang.String)
,
OozieClient.getHeaderNames()
and
org.apache.oozie.client.OozieClient#setSafeMode
.
OozieClient
for LocalOozie.public static org.apache.oozie.client.OozieClient getClient(String user)
OozieClient
for LocalOozie configured for a given user.
The following methods of the client are NOP in the returned instance: OozieClient.validateWSVersion()
,
OozieClient.setHeader(java.lang.String, java.lang.String)
, OozieClient.getHeader(java.lang.String)
, OozieClient.removeHeader(java.lang.String)
,
OozieClient.getHeaderNames()
and org.apache.oozie.client.OozieClient#setSafeMode
.
user
- user name to use in LocalOozie for running workflows.
OozieClient
for LocalOozie configured for the given user.public static org.apache.oozie.client.OozieClient getClientCoord(String user)
OozieClient
for LocalOozie
configured for a given user.
The following methods of the client are NOP in the returned instance:
OozieClient.validateWSVersion()
,
OozieClient.setHeader(java.lang.String, java.lang.String)
,
OozieClient.getHeader(java.lang.String)
,
OozieClient.removeHeader(java.lang.String)
,
OozieClient.getHeaderNames()
and
org.apache.oozie.client.OozieClient#setSafeMode
.
user
- user name to use in LocalOozie for running coordinator.
OozieClient
for LocalOozie
configured for the given user.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |