Revision 35701
Added by Mateusz Kobos about 9 years ago
workflow.xml | ||
---|---|---|
26 | 26 |
<arg>-C{person, |
27 | 27 |
eu.dnetlib.iis.core.examples.schemas.documentandauthor.Person, |
28 | 28 |
eu/dnetlib/iis/core/examples/data/person.json}</arg> |
29 |
<!-- All input and output ports have to be bound to paths in HDFS, working |
|
30 |
directory has to be specified as well --> |
|
31 |
<arg>-SworkingDir=${workingDir}/producer/working_dir</arg> |
|
29 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
32 | 30 |
<arg>-Operson=${workingDir}/producer/person</arg> |
33 | 31 |
<arg>-Odocument=${workingDir}/producer/document</arg> |
34 | 32 |
</java> |
... | ... | |
54 | 52 |
<main-class>eu.dnetlib.iis.core.java.ProcessWrapper</main-class> |
55 | 53 |
<!-- The business Java code that gets to be executed --> |
56 | 54 |
<arg>eu.dnetlib.iis.core.examples.java.PersonCloner</arg> |
57 |
<!-- All input and output ports have to be bound to paths in HDFS, working |
|
58 |
directory has to be specified as well --> |
|
59 |
<arg>-SworkingDir=${workingDir}/cloner/working_dir</arg> |
|
55 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
60 | 56 |
<arg>-Iperson=${workingDir}/producer/person</arg> |
61 | 57 |
<arg>-Operson=${workingDir}/cloner/person</arg> |
62 | 58 |
<arg>-Pcopies=2</arg> |
... | ... | |
85 | 81 |
<arg>-C{document, |
86 | 82 |
eu.dnetlib.iis.core.examples.schemas.documentandauthor.Document, |
87 | 83 |
eu/dnetlib/iis/core/examples/data/document.json}</arg> |
88 |
<!-- All input and output ports have to be bound to paths in HDFS, working |
|
89 |
directory has to be specified as well --> |
|
90 |
<arg>-SworkingDir=${workingDir}/producer/working_dir</arg> |
|
84 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
91 | 85 |
<arg>-Iperson=${workingDir}/cloner/person</arg> |
92 | 86 |
<arg>-Idocument=${workingDir}/producer/document</arg> |
93 | 87 |
</java> |
Also available in: Unified diff
Removing usage of working_dir from Java workflow node.