Run DQC Process
Runs a ONE plan or component in a new Java process: the task waits until the process finishes. This allows you to run the ONE plan within the new JVM while using a specific Java version and runtime parameters (such as memory settings).
The plan is validated before the run: if the plan is invalid, the task fails with FINISHED_FAILURE state and log details into a log. Logs of the process are stored in the task resources folder. The STDOUT log also contains a copy of the process command.
This task requires the Ataccama Home system or user environment variable to be correctly set, otherwise the task might fail.
Make sure that ATACCAMA_HOME is set for the user running the online server (especially when the server is started as a Windows service; see Set ATACCAMA_HOME on Linux for Linux instructions).
|
Properties
Name | Type | Description | Expression support |
---|---|---|---|
Plan File |
mandatory |
Relative (to the workflow file) or absolute path to the plan or component to run. |
semi-expression |
Parallelism Level |
mandatory |
Parallelism level for a ONE plan execution.
Default value: |
none |
Parameters |
optional |
Set of parameters to pass to the ONE component in the format specified in Parameters properties. |
none |
Path Variables |
optional |
Set of local path variables to use with the current task in the format specified in Path variables properties. |
none |
Java Dir |
optional |
Defines the path of the Java JRE or JDK directory to use.
The defined directory must contain either If this attribute is not specified, the JRE is autodetected using Java’s |
none |
Java Options |
optional |
Space-separated JVM Configuration to pass to the Java Virtual Machine. |
none |
Example
<executable class="com.ataccama.adt.task.exec.EwfDqcAsProcessTask">
<planFile>one/param_component/myComponent.comp</planFile>
<parameters>
<parameter name="inputFile" expression="comp_inputFile"/>
<parameter name="outputFile" expression="comp_outputFile"/>
</parameters>
<pathVariables>
<pathVariable name="myPathVariable" value="d:/var/server-root/workflows/one-data/" />
</pathVariables>
<javaDir>c:/opt/java/jdk5_32</javaDir>
<javaOptions>-Xms128m -Xmx512M</javaOptions>
</executable>
Set ATACCAMA_HOME on Linux
The Run DQC Process task is a separate Java task, so it does not inherit the ATACCAMA_HOME
variable.
To set ATACCAMA_HOME
for Run DQC Process on Linux, you have to set it as a global variable.
Make sure the variable is set by the user running the online server.
To set the global variable:
-
Navigate to the root/home, for example,
/home/<user_name>
. -
Open the hidden file
.bash_profile
and add the following parameter:export ATACCAMA_HOME=/one20/app/server/runtime
Make sure the parameter points to the correct distribution.
-
Stop the server.
-
Log out from your Linux account and log back in.
-
Start the server.
Was this page useful?