Commit 4f70a62d authored by Vladimir Bodnartchouk's avatar Vladimir Bodnartchouk
Browse files

DOC-203: The documentation should mention job classpath

Change-Id: I2e4e6402aa2ca92d5414f24648fb1d8d39929b22
parent 3d9fce3b
......@@ -332,6 +332,27 @@ Before running your jobs you should first *upload* your files into either Global
these spaces by one of the standard protocols like *FTP*, *NFS*, or use available web interfaces like
http://pyd.io[Pydio/AjaXplorer^].
=== Adding classpath
If your tasks requires additional classpath the job definition accepts paths to jars or class directories located in the *User Space* or *Global Space*. All classes in this paths can be loaded by tasks contained in the job.
[source, xml]
----
<job>
<jobClasspath>
<pathElement path="$USERSPACE/path/to/my/classes/" />
<pathElement path="$USERSPACE/path/to/my/jarfile.jar" />
<pathElement path="$GLOBALSPACE/mylib.jar" />
</jobClasspath>
<task>
...
</task>
</job>
----
The jobClasspath mechanism relies on the file transfer. The size of the jobClasspath files therefore has an impact on
performances.
== Workflow concepts
Workflows comes with constructs that help you distribute your computation. The tutorial
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment