taskLockTimeout

Hi
Please let me know what is the full property name taskLockTimeout and in which node we need to set this up?

Thanks

Hi Prabakaran,

As per http://druid.io/docs/latest/ingestion/locking-and-priority.html#task-context, this configuration is set in the ‘context’ field when you submit an ingestion task spec (it is not set in a runtime.properties file on a node). For example:

{
“type”: “index”,
“spec”: {
“dataSchema”: {
“dataSource”: “ds”,
“parser”: {
“type”: “string”,
“parseSpec”: {
“format”: “json”,
“dimensionsSpec”: {
“dimensions”:
},
“timestampSpec”: {
“column”: “timestamp”,
“format”: “iso”
}
}
},
“metricsSpec”:
},
“ioConfig”: {
“type”: “index”,
“firehose”: {
“type”: “http”,
“uris”: [
http://xx
]
}
}
},
“context”: {
“taskLockTimeout”: 300000
}
}