1
|
<RESOURCE_PROFILE>
|
2
|
<HEADER>
|
3
|
<RESOURCE_IDENTIFIER value="1c34963b-75b3-4440-9f42-72445a26c077_SGFkb29wSm9iQ29uZmlndXJhdGlvbkRTUmVzb3VyY2VzL0hhZG9vcEpvYkNvbmZpZ3VyYXRpb25EU1Jlc291cmNlVHlwZQ=="/>
|
4
|
<RESOURCE_TYPE value="HadoopJobConfigurationDSResourceType"/>
|
5
|
<RESOURCE_KIND value="HadoopJobConfigurationDSResources"/>
|
6
|
<RESOURCE_URI value=""/>
|
7
|
<DATE_OF_CREATION value="2001-12-31T12:00:00"/>
|
8
|
</HEADER>
|
9
|
<BODY>
|
10
|
<HADOOP_JOB name="indexFeedJob" type="mapreduce">
|
11
|
<DESCRIPTION>map reduce job that feeds the index from the sequence file produced by the prepareIndexDataJob</DESCRIPTION>
|
12
|
<STATIC_CONFIGURATION>
|
13
|
|
14
|
<!-- I/O FORMAT -->
|
15
|
<PROPERTY key="mapreduce.inputformat.class" value="org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat" />
|
16
|
<PROPERTY key="mapreduce.outputformat.class" value="org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat" />
|
17
|
|
18
|
<!-- MAPPER -->
|
19
|
<PROPERTY key="mapreduce.map.class" value="eu.dnetlib.data.mapreduce.hbase.index.IndexFeedMapper" />
|
20
|
<PROPERTY key="mapred.mapoutput.key.class" value="org.apache.hadoop.io.Text" />
|
21
|
<PROPERTY key="mapred.mapoutput.value.class" value="org.apache.hadoop.io.Text" />
|
22
|
|
23
|
<!-- JOB GLOBAL -->
|
24
|
<PROPERTY key="mapred.output.key.class" value="org.apache.hadoop.io.Text" />
|
25
|
<PROPERTY key="mapred.output.value.class" value="org.apache.hadoop.io.Text"/>
|
26
|
|
27
|
<!-- MISC -->
|
28
|
<PROPERTY key="mapred.task.timeout" value="1800000"/>
|
29
|
<PROPERTY key="mapred.map.tasks.speculative.execution" value="false" />
|
30
|
<PROPERTY key="mapreduce.map.speculative" value="false" />
|
31
|
<PROPERTY key="mapred.reduce.tasks" value="0" />
|
32
|
<PROPERTY key="mapred.fairscheduler.pool" value="solr"/>
|
33
|
<!-- <PROPERTY key="user.name" value="dnet" /> -->
|
34
|
|
35
|
<!-- Uncomment to override the default lib path -->
|
36
|
<!-- <PROPERTY key="job.lib" value="/user/dnet/dnet-mapreduce-jobs-0.0.2-SNAPSHOT-jar-with-dependencies.jar"/> -->
|
37
|
</STATIC_CONFIGURATION>
|
38
|
<JOB_INTERFACE>
|
39
|
<PARAM name="mapred.input.dir" required="true" description="source sequence file on hdfs" />
|
40
|
<PARAM name="mapred.output.dir" required="true" description="destination path on hdfs for rotten index xml records" />
|
41
|
|
42
|
<PARAM name="index.solr.url" required="false" description="url used to instantiate the solr client" />
|
43
|
<PARAM name="index.solr.collection" required="true" description="target solr collection to be fed" />
|
44
|
|
45
|
<PARAM name="id" required="true" description="index DS id" />
|
46
|
<PARAM name="index.shutdown.wait.time" required="true" description="wait time before shut down the solr client pool" />
|
47
|
<PARAM name="index.buffer.flush.threshold" required="true" description="indexing buffer flush threshold" />
|
48
|
<PARAM name="index.feed.timestamp" required="true" description="timestamp used as ds_version" />
|
49
|
<PARAM name="index.solr.sim.mode" required="true" description="boolean value, allows to run this job in simulation mode" />
|
50
|
<PARAM name="index.xslt" required="true" description="record transformer created by the MSRO service" />
|
51
|
</JOB_INTERFACE>
|
52
|
<SCAN>
|
53
|
<FILTERS />
|
54
|
<FAMILIES />
|
55
|
</SCAN>
|
56
|
</HADOOP_JOB>
|
57
|
<STATUS>
|
58
|
<LAST_SUBMISSION_DATE value="2001-12-31T12:00:00"/>
|
59
|
<RUNNING_INSTANCES value="0"/>
|
60
|
<CUMULATIVE_RUN value="0" />
|
61
|
</STATUS>
|
62
|
<SECURITY_PARAMETERS>SECURITY_PARAMETERS</SECURITY_PARAMETERS>
|
63
|
</BODY>
|
64
|
</RESOURCE_PROFILE>
|