mirror of https://github.com/apache/druid.git
allow killing waiting and pending tasks (#7247)
This commit is contained in:
parent
74bbe5ab9f
commit
e11364883c
|
@ -503,7 +503,7 @@ ORDER BY "rank" DESC, "created_time" DESC`);
|
||||||
<a href={`/druid/indexer/v1/task/${id}/reports`} target="_blank">Reports</a>
|
<a href={`/druid/indexer/v1/task/${id}/reports`} target="_blank">Reports</a>
|
||||||
<a href={`/druid/indexer/v1/task/${id}/log`} target="_blank">Log (all)</a>
|
<a href={`/druid/indexer/v1/task/${id}/log`} target="_blank">Log (all)</a>
|
||||||
<a href={`/druid/indexer/v1/task/${id}/log?offset=-8192`} target="_blank">Log (last 8kb)</a>
|
<a href={`/druid/indexer/v1/task/${id}/log?offset=-8192`} target="_blank">Log (last 8kb)</a>
|
||||||
{ (status === 'RUNNING') && <a onClick={() => this.setState({ killTaskId: id })}>Kill</a> }
|
{ (status === 'RUNNING' || status === 'WAITING' || status === 'PENDING') && <a onClick={() => this.setState({ killTaskId: id })}>Kill</a> }
|
||||||
</div>
|
</div>
|
||||||
},
|
},
|
||||||
Aggregated: row => ''
|
Aggregated: row => ''
|
||||||
|
|
Loading…
Reference in New Issue