Revision 35701
Added by Mateusz Kobos about 9 years ago
workflow.xml | ||
---|---|---|
27 | 27 |
<arg>-C{document_text, |
28 | 28 |
eu.dnetlib.iis.metadataextraction.schemas.DocumentText, |
29 | 29 |
eu/dnetlib/iis/referenceextraction/project/data/document_text.json}</arg> |
30 |
<!-- All input and output ports have to be bound to paths in HDFS, working |
|
31 |
directory has to be specified as well --> |
|
32 |
<arg>-SworkingDir=${workingDir}/document_text_producer/working_dir</arg> |
|
30 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
33 | 31 |
<arg>-Odocument_text=${workingDir}/document_text_producer/document_text</arg> |
34 | 32 |
</java> |
35 | 33 |
<ok to="project_db_producer" /> |
... | ... | |
55 | 53 |
<main-class>eu.dnetlib.iis.core.java.ProcessWrapper</main-class> |
56 | 54 |
<!-- The business Java code that gets to be executed --> |
57 | 55 |
<arg>eu.dnetlib.iis.referenceextraction.project.ProjectDBProducer</arg> |
58 |
<!-- All input and output ports have to be bound to paths in HDFS, working |
|
59 |
directory has to be specified as well --> |
|
60 |
<arg>-SworkingDir=${workingDir}/project_db_producer/working_dir</arg> |
|
56 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
61 | 57 |
<arg>-Oproject_db=${workingDir}/project_db_producer/projects.db</arg> |
62 | 58 |
</java> |
63 | 59 |
<ok to="referenceextraction_project" /> |
... | ... | |
117 | 113 |
<main-class>eu.dnetlib.iis.core.java.ProcessWrapper</main-class> |
118 | 114 |
<!-- The business Java code that gets to be executed --> |
119 | 115 |
<arg>eu.dnetlib.iis.core.java.jsonworkflownodes.TestingConsumer</arg> |
120 |
<!-- All input and output ports have to be bound to paths in HDFS, working |
|
121 |
directory has to be specified as well --> |
|
116 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
122 | 117 |
<arg>-C{document_to_project, |
123 | 118 |
eu.dnetlib.iis.referenceextraction.project.schemas.DocumentToProject, |
124 | 119 |
eu/dnetlib/iis/referenceextraction/project/data/document_to_project.json}</arg> |
125 |
<!-- All input and output ports have to be bound to paths in HDFS, working |
|
126 |
directory has to be specified as well --> |
|
127 |
<arg>-SworkingDir=${workingDir}/consumer/working_dir</arg> |
|
120 |
<!-- All input and output ports have to be bound to paths in HDFS --> |
|
128 | 121 |
<arg>-Idocument_to_project=${workingDir}/referenceextraction_project/document_to_project</arg> |
129 | 122 |
</java> |
130 | 123 |
<ok to="end" /> |
Also available in: Unified diff
Removing usage of working_dir from Java workflow node.