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", "contentVersion": "1.0.0.0",
"parameters": { "parameters": {
"shards": { "shards": {
"value": 20 "value": 10
}, },
"shardprefix": { "shardprefix": {
"value": "adxbench" "value": "adxbench"

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

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