Project

General

Profile

« Previous | Next » 

Revision 35701

Added by Mateusz Kobos about 9 years ago

Removing usage of working_dir from Java workflow node.

View differences:

workflow.xml
30 30
			<arg>-C{dataset, 
31 31
				eu.dnetlib.iis.importer.schemas.DataSetReference,
32 32
				eu/dnetlib/iis/referenceextraction/dataset/data/dataset.json}</arg>
33
			<!-- All input and output ports have to be bound to paths in HDFS, working 
34
				directory has to be specified as well -->
35
			<arg>-SworkingDir=${workingDir}/producer/working_dir</arg>
33
			<!-- All input and output ports have to be bound to paths in HDFS -->
36 34
			<arg>-Odocument_text=${workingDir}/producer/document_text</arg>
37 35
			<arg>-Odataset=${workingDir}/producer/dataset</arg>
38 36
		</java>
......
93 91
			<main-class>eu.dnetlib.iis.core.java.ProcessWrapper</main-class>
94 92
			<!-- The business Java code that gets to be executed -->
95 93
			<arg>eu.dnetlib.iis.core.java.jsonworkflownodes.TestingConsumer</arg>
96
			<!-- All input and output ports have to be bound to paths in HDFS, working 
97
				directory has to be specified as well -->
94
			<!-- All input and output ports have to be bound to paths in HDFS -->
98 95
			<arg>-C{document_to_dataset,
99 96
				eu.dnetlib.iis.referenceextraction.dataset.schemas.DocumentToDataSet,
100 97
				eu/dnetlib/iis/referenceextraction/dataset/data/document_to_dataset.json}</arg>
101
			<!-- All input and output ports have to be bound to paths in HDFS, working 
102
				directory has to be specified as well -->
103
			<arg>-SworkingDir=${workingDir}/consumer/working_dir</arg>
98
			<!-- All input and output ports have to be bound to paths in HDFS -->
104 99
			<arg>-Idocument_to_dataset=${workingDir}/referenceextraction_dataset/document_to_dataset</arg>
105 100
		</java>
106 101
		<ok to="end" />

Also available in: Unified diff