public class LocalOozie extends Object
LocalOozie is meant for development/debugging purposes only.
| Constructor and Description |
|---|
LocalOozie() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getClientBundle()
The returned instance is configured with the user name of the JVM (the
value of the system property 'user.name').
|
static org.apache.oozie.client.OozieClient |
getClientBundle(String user)
The returned instance is configured with the user name of the JVM (the
value of the system property 'user.name').
|
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.
|
public LocalOozie()
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(),
OozieClient.setSystemMode(OozieClient.SYSTEM_MODE),
OozieClient.getHeaders(),
OozieClient.getClientBuildVersion().
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(),
OozieClient.setSystemMode(OozieClient.SYSTEM_MODE),
OozieClient.getHeaders(),
OozieClient.getClientBuildVersion().
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(),
OozieClient.setSystemMode(OozieClient.SYSTEM_MODE),
OozieClient.getHeaders(),
OozieClient.getClientBuildVersion().
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(),
OozieClient.setSystemMode(OozieClient.SYSTEM_MODE),
OozieClient.getHeaders(),
OozieClient.getClientBuildVersion().
user - user name to use in LocalOozie for running coordinator.OozieClient for LocalOozie
configured for the given user.public static org.apache.oozie.client.OozieClient getClientBundle()
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(),
OozieClient.setSystemMode(OozieClient.SYSTEM_MODE),
OozieClient.getHeaders(),
OozieClient.getClientBuildVersion().
OozieClient for LocalOozie.public static org.apache.oozie.client.OozieClient getClientBundle(String user)
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(),
OozieClient.setSystemMode(OozieClient.SYSTEM_MODE),
OozieClient.getHeaders(),
OozieClient.getClientBuildVersion().
OozieClient for LocalOozie.Copyright © 2018 Apache Software Foundation. All rights reserved.