This commit is contained in:
minwal 2021-03-01 22:45:21 +11:00
Родитель 3c2acd2249
Коммит a55709994e
3 изменённых файлов: 23 добавлений и 33 удалений

Просмотреть файл

@ -3,7 +3,7 @@
"contentVersion": "1.0.0.0",
"parameters": {
"shards": {
"value": 20
"value": 10
},
"shardprefix": {
"value": "adxbench"

Просмотреть файл

@ -15,33 +15,20 @@
"description": "Pool id"
}
},
"partitionStart": {
"type": "int",
"defaultValue": 0,
"metadata": {
"description": "Partition start index"
}
},
"partitionEnd": {
"type": "int",
"defaultValue": 6,
"metadata": {
"description": "Partition end index"
}
},
"size": {
"type": "string",
"defaultValue": "HundredTB",
"defaultValue": "OneTB",
"metadata": {
"description": "Size"
}
},
"outputContainerUrl": {
"type": "string",
"defaultValue": "YOUR BLOB CONNECTION STRING",
"metadata": {
"description": "Output container URL"
}
"storageConnStr": {
"type": "array",
"defaultValue": [
"DefaultEndpointsProtocol=https;AccountName=ACC1;AccountKey=ACCKEY1;EndpointSuffix=core.windows.net",
"DefaultEndpointsProtocol=https;AccountName=ACC2;AccountKey=ACCKEY2;EndpointSuffix=core.windows.net",
"DefaultEndpointsProtocol=https;AccountName=ACC3;AccountKey=ACCKEY3;EndpointSuffix=core.windows.net"
]
}
},
"job": {
@ -53,18 +40,21 @@
"poolId": "[parameters('poolId')]"
},
"taskFactory": {
"type": "parametricSweep",
"parameterSets": [
"type": "taskCollection",
"tasks": [
{
"start": "[parameters('partitionStart')]",
"end": "[parameters('partitionEnd')]",
"step": 1
}
],
"repeatTask": {
"displayName": "Task for partition {0}",
"commandLine": "%AZ_BATCH_APP_PACKAGE_GENERATOR#1.0%/publish/BenchmarkLogGenerator.exe -output:AzureStorage -cc:\"[parameters('outputContainerUrl')]\" -size:[parameters('size')] -partition:{0}"
"id": "task0",
"commandLine": "%AZ_BATCH_APP_PACKAGE_GENERATOR#1.0%/publish/BenchmarkLogGenerator.exe -output:AzureStorage -cc:\"[parameters('storageConnStr')[0]]\" -size:[parameters('size')] -partition:0"
},
{
"id": "task1",
"commandLine": "%AZ_BATCH_APP_PACKAGE_GENERATOR#1.0%/publish/BenchmarkLogGenerator.exe -output:AzureStorage -cc:\"[parameters('storageConnStr')[1]]\" -size:[parameters('size')] -partition:1"
},
{
"id": "task2",
"commandLine": "%AZ_BATCH_APP_PACKAGE_GENERATOR#1.0%/publish/BenchmarkLogGenerator.exe -output:AzureStorage -cc:\"[parameters('storageConnStr')[2]]\" -size:[parameters('size')] -partition:2"
}
]
}
}
}

Просмотреть файл

@ -11,7 +11,7 @@
},
"vmDedicatedCount": {
"type": "int",
"defaultValue": 7,
"defaultValue": 3,
"metadata": {
"description": "The number of dedicated virtual machines"
}