forked from fullstorydev/solr-bench
-
Notifications
You must be signed in to change notification settings - Fork 2
/
smart-cluster-test.json
101 lines (98 loc) · 3.06 KB
/
smart-cluster-test.json
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"task-types": {
"indexing": {
"index-benchmark": {
"name": "CLOUD_INDEXING",
"description": "Wikipedia dataset on SolrCloud",
"replication-type": "cloud",
"dataset-file": "small-data/tiny-dev-wikipedia.tsv.gz",
"file-format": "tsv",
"id-field": "id",
"setups": [
{
"setup-name": "cloud_2x2",
"collection": "small-wikipedia-${INDEX}",
"replication-factor": 3,
"shards": 1,
"min-threads": 2,
"max-threads": 2,
"thread-step": 1
}
]
}
},
"cluster-state-benchmark": {
"cluster-state-benchmark": {
"filename": "clusterstatus_clusterstatus.json",
"collection-creation-params": {"perReplicaState": "true"},
"collections-limit": 600,
"simulation-concurrency-fraction": 0.25
}
},
"collection-creation": {
"command": "${SOLRURL}admin/collections?action=CREATE&name=collection${INDEX}&numShards=${SHARDS}",
"defaults": {
"INDEX": 0,
"SHARDS": 1
}
},
"shard-splitting": {
"command": "${SOLRURL}admin/collections?action=SPLITSHARD&collection=${COLLECTION}&shard=${SHARD}",
"defaults": {}
},
"num-docs": {
"command": "${SOLRURL}small-wikipedia/select?q=*:*&rows=0&distrib=false",
"defaults": {}
},
"restart-solr-node": {
"restart-solr-node": "${NODE_INDEX}",
"await-recoveries": true
}
},
"global-variables": {
"collection-counter": 0,
"restart-counter": 1
},
"global-constants": {
"HOST": "localhost",
"PORT": "8983"
},
"execution-plan": {
"task1": {
"type": "cluster-state-benchmark",
"instances": 1,
"concurrency": 1,
"mode": "sync"
} ,
"task2": {
"description": "Restart Solr node",
"instances": 15,
"concurrency": 5,
"type": "restart-solr-node",
"parameters": {
"NODE_INDEX": "${restart-counter}"
},
"wait-for": "task1",
"mode": "sync",
"pre-task-evals": [
"inc(restart-counter,1)"
]
}
},
"cluster": {
"num-solr-nodes": 16,
"startup-params": "-m 1g",
"provisioning-method": "local"
},
"repository": {
"commit-id": "ba6fbb1aa7be028a09cb3f1040560a9debb05ff3",
"description": "Solr 8.7",
"name": "fs-repository",
"package-subdir": "/solr/package/",
"build-command": "ant ivy-bootstrap && cd solr && ant compile package",
"submodules": false,
"url": "https://github.com/fullstorydev/lucene-solr",
"user" : "ishan"
},
"metrics": ["solr.node/solr.node/overseer.totalMessages", "solr.node/solr.node/overseer.stateMessages", "solr.node/solr.node/overseer.leaderMessages"]
}