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
22 22
			<main-class>eu.dnetlib.iis.core.java.ProcessWrapper</main-class>
23 23
			<!-- The business Java code that gets to be executed -->
24 24
			<arg>eu.dnetlib.iis.core.examples.java.SampleDataProducer</arg>
25
			<!-- All input and output ports have to be bound to paths in HDFS, working 
26
				directory has to be specified as well -->
27
			<arg>-SworkingDir=${workingDir}/data_producer/working_dir</arg>
25
			<!-- All input and output ports have to be bound to paths in HDFS -->
28 26
			<arg>-Operson=${workingDir}/data_producer/person</arg>
29 27
			<arg>-Odocument=${workingDir}/data_producer/document</arg>
30 28
		</java>
......
103 101
			<main-class>eu.dnetlib.iis.core.java.ProcessWrapper</main-class>
104 102
			<!-- The business Java code that gets to be executed -->
105 103
			<arg>eu.dnetlib.iis.core.examples.java.PersonTestingConsumer</arg>
106
			<!-- All input and output ports have to be bound to paths in HDFS, working 
107
				directory has to be specified as well -->
108
			<arg>-SworkingDir=${workingDir}/consumer/working_dir</arg>
104
			<!-- All input and output ports have to be bound to paths in HDFS -->
109 105
			<arg>-Iperson=${workingDir}/python_cloner/output</arg>
110 106
			<arg>-Pexpected_copies=3</arg>
111 107
		</java>

Also available in: Unified diff