Revision 35701
Added by Mateusz Kobos about 9 years ago
workflow.xml | ||
---|---|---|
26 | 26 |
<arg>-C{document, |
27 | 27 |
eu.dnetlib.iis.core.examples.schemas.documentandauthor.Document, |
28 | 28 |
eu/dnetlib/iis/core/examples/data/document.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}/document_producer/working_dir</arg> |
|
29 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
32 | 30 |
<arg>-Odocument=${workingDir}/document_producer/document</arg> |
33 | 31 |
</java> |
34 | 32 |
<ok to="stopwords_producer" /> |
... | ... | |
53 | 51 |
<main-class>eu.dnetlib.iis.core.java.ProcessWrapper</main-class> |
54 | 52 |
<!-- The business Java code that gets to be executed --> |
55 | 53 |
<arg>eu.dnetlib.iis.core.examples.java.StopwordsProducer</arg> |
56 |
<!-- All input and output ports have to be bound to paths in HDFS, working |
|
57 |
directory has to be specified as well --> |
|
58 |
<arg>-SworkingDir=${workingDir}/stopwords_producer/working_dir</arg> |
|
54 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
59 | 55 |
<arg>-Ostopwords=${workingDir}/stopwords_producer/stopwords.db</arg> |
60 | 56 |
</java> |
61 | 57 |
<ok to="title_wordcount" /> |
... | ... | |
149 | 145 |
<arg>-C{wordcount, |
150 | 146 |
eu.dnetlib.iis.core.examples.schemas.WordCount, |
151 | 147 |
eu/dnetlib/iis/core/examples/data/wordcount_without_stopwords.json}</arg> |
152 |
<!-- All input and output ports have to be bound to paths in HDFS, working |
|
153 |
directory has to be specified as well --> |
|
154 |
<arg>-SworkingDir=${workingDir}/wordcount_consumer/working_dir</arg> |
|
148 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
155 | 149 |
<arg>-Iwordcount=${workingDir}/title_wordcount/wordcount</arg> |
156 | 150 |
</java> |
157 | 151 |
<ok to="end" /> |
Also available in: Unified diff
Removing usage of working_dir from Java workflow node.