This is an automated email from the ASF dual-hosted git repository.
jonwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git
The following commit(s) were added to refs/heads/master by this push:
new e113648 allow killing waiting and pending tasks (#7247)
e113648 is described below
commit e11364883c36603fd9e9bc23a8abaea27ebe085a
Author: Vadim Ogievetsky <[email protected]>
AuthorDate: Thu Mar 14 13:17:19 2019 -0700
allow killing waiting and pending tasks (#7247)
---
web-console/src/views/tasks-view.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web-console/src/views/tasks-view.tsx
b/web-console/src/views/tasks-view.tsx
index e5855f2..8219c88 100644
--- a/web-console/src/views/tasks-view.tsx
+++ b/web-console/src/views/tasks-view.tsx
@@ -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}/log`}
target="_blank">Log (all)</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>
},
Aggregated: row => ''
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]