public class LocalOozie extends Object
LocalOozie is meant for development/debugging purposes only.
Constructor and Description |
---|
LocalOozie() |
Modifier and Type | Method and Description |
---|---|
static OozieClient |
getClient()
Return a
OozieClient for LocalOozie. |
static OozieClient |
getClient(String user)
Return a
OozieClient for LocalOozie configured for a given user. |
static OozieClient |
getClientBundle()
The returned instance is configured with the user name of the JVM (the
value of the system property 'user.name').
|
static 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 OozieClient |
getClientCoord(String user)
Return a
OozieClient for LocalOozie
configured for a given user. |
static 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 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 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 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 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 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 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.