forked from tomatoKiller/distributed-crawler-base-on-hadoop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crawler.xml
71 lines (63 loc) · 2.14 KB
/
crawler.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>reduce.concurrency.value</name>
<value>2</value>
<description>reduce阶段爬虫的并发值</description>
</property>
<property>
<name>crawler.deep</name>
<value>10</value>
<description>爬行深度</description>
</property>
<property>
<name>wait.job.finished.millisecond</name>
<value>5000</value>
<description>等待作业完成的睡眠值</description>
</property>
<property>
<name>bloom.filter.vector.size</name>
<value>100000000</value>
<description>bloomfilter的大小</description>
</property>
<property>
<name>bloom.file.func.num</name>
<value>6</value>
<description>bloomfilter的散列函数的个数</description>
</property>
<property>
<name>seed.files.dir</name>
<value>crawler/in</value>
<description>种子文件夹位置</description>
</property>
<property>
<name>seed.files.tmp.dir</name>
<value>crawler/tmp_in<value>
</property>
<property>
<name>crawler.result.tmp.dir</name>
<value>crawler/crawler_tmp_dir</value>
<description>爬虫结果临时文件夹位置</description>
</property>
<property>
<name>update.bloom.filter.job.output.dir</name>
<value>crawler/ubf_outputdir</value>
<description></description>
</property>
<property>
<name>crawler.result.dir</name>
<value>crawler/doc</value>
<description>爬虫结果文件夹位置</description>
</property>
<property>
<name>crawler.stand.result.dir</name>
<value>crawler/csrd</value>
</property>
<property>
<name>bloom.filter.file.name</name>
<value>crawler/bloomfilter</value>
<description></description>
</property>
</configuration>