ruibinx opened a new issue #10902:
URL: https://github.com/apache/druid/issues/10902
### Affected Version
0.19.0
### Description
Occasionally index kafka job shutdown without any exceptions. The status
reports is 'FAILED', and there is no exceptions in logs.
status:
```
{
"id": "index_kafka_metric_duration_result_acb68b573f08e0e_jjfpjpnj",
"groupId": "index_kafka_metric_duration_result",
"type": "index_kafka",
"createdTime": "2021-02-19T00:13:39.461Z",
"queueInsertionTime": "1970-01-01T00:00:00.000Z",
"statusCode": "FAILED",
"status": "FAILED",
"runnerStatusCode": "WAITING",
"duration": -1,
"location": {
"host": "dx-pipe-pt25-pm",
"port": 8109,
"tlsPort": -1
},
"dataSource": "metric_duration_result",
"errorMsg": null
}
```
and tail of logs:
```
2021-02-19T00:51:53,988 INFO [task-runner-0-priority-0]
org.apache.druid.server.coordination.BatchDataSegmentAnnouncer - Unannouncing
segment[metric_duration_result_2021-02-18T00:00:00.000Z_2021-02-18T01:00:00.000Z_2021-02-18T02:39:13.161Z_935]
at
path[/druid/segments/dx-pipe-pt25-pm:8109/dx-pipe-pt25-pm:8109_indexer-executor__default_tier_2021-02-19T00:13:54.322Z_b62ef49624db40619bdf522d5b96e9f70]
2021-02-19T00:51:53,988 INFO [task-runner-0-priority-0]
org.apache.druid.server.coordination.BatchDataSegmentAnnouncer - Unannouncing
segment[metric_duration_result_2021-02-16T07:00:00.000Z_2021-02-16T08:00:00.000Z_2021-02-18T02:39:13.603Z_852]
at
path[/druid/segments/dx-pipe-pt25-pm:8109/dx-pipe-pt25-pm:8109_indexer-executor__default_tier_2021-02-19T00:13:54.322Z_b62ef49624db40619bdf522d5b96e9f70]
2021-02-19T00:51:53,988 INFO [task-runner-0-priority-0]
org.apache.druid.server.coordination.BatchDataSegmentAnnouncer - Unannouncing
segment[metric_duration_result_2021-02-13T04:00:00.000Z_2021-02-13T05:00:00.000Z_2021-02-18T02:39:52.478Z_715]
at
path[/druid/segments/dx-pipe-pt25-pm:8109/dx-pipe-pt25-pm:8109_indexer-executor__default_tier_2021-02-19T00:42:53.161Z_dc01fd4a65cc4376935d93738792c68b2]
2021-02-19T00:51:53,989 INFO [task-runner-0-priority-0]
org.apache.druid.server.coordination.BatchDataSegmentAnnouncer - Unannouncing
segment[metric_duration_result_2021-02-16T17:00:00.000Z_2021-02-16T18:00:00.000Z_2021-02-18T02:46:28.544Z_606]
at
path[/druid/segments/dx-pipe-pt25-pm:8109/dx-pipe-pt25-pm:8109_indexer-executor__default_tier_2021-02-19T00:13:54.322Z_b62ef49624db40619bdf522d5b96e9f70]
2021-02-19T00:51:53,989 INFO [task-runner-0-priority-0]
org.apache.druid.server.coordination.BatchDataSegmentAnnouncer - Unannouncing
segment[metric_duration_result_2021-02-13T10:00:00.000Z_2021-02-13T11:00:00.000Z_2021-02-18T02:39:55.748Z_698]
at
path[/druid/segments/dx-pipe-pt25-pm:8109/dx-pipe-pt25-pm:8109_indexer-executor__default_tier_2021-02-19T00:42:53.161Z_dc01fd4a65cc4376935d93738792c68b2]
2021-02-19T00:51:53,989 INFO [Thread-43] org.apache.zookeeper.ZooKeeper -
Session: 0x501f897c8155294 closed
2021-02-19T00:51:53,989 INFO [Thread-43]
org.apache.druid.java.util.common.lifecycle.Lifecycle - Stopping lifecycle
[module] stage [INIT]
2021-02-19T00:51:53,989 INFO [main-EventThread]
org.apache.zookeeper.ClientCnxn - EventThread shut down for session:
0x501f897c8155294
2021-02-19T00:51:53,989 INFO [task-runner-0-priority-0]
org.apache.druid.server.coordination.BatchDataSegmentAnnouncer - Unannouncing
segment[metric_duration_result_2021-02-18T14:00:00.000Z_2021-02-18T15:00:00.000Z_2021-02-18T16:26:20.440Z_183]
at
path[/druid/segments/dx-pipe-pt25-pm:8109/dx-pipe-pt25-pm:8109_indexer-executor__default_tier_2021-02-19T00:13:54.322Z_b62ef49624db40619bdf522d5b96e9f70]
2021-02-19T00:51:53,990 INFO [task-runner-0-priority-0]
org.apache.druid.server.coordination.BatchDataSegmentAnnouncer - Unannouncing
segment[metric_duration_result_2021-02-18T07:00:00.000Z_2021-02-18T08:00:00.000Z_2021-02-18T06:53:06.683Z_752]
at
path[/druid/segments/dx-pipe-pt25-pm:8109/dx-pipe-pt25-pm:8109_indexer-executor__default_tier_2021-02-19T00:13:54.322Z_b62ef49624db40619bdf522d5b96e9f70]
2021-02-19T00:51:53,990 INFO [task-runner-0-priority-0]
org.apache.druid.server.coordination.BatchDataSegmentAnnouncer - Unannouncing
segment[metric_duration_result_2021-02-18T16:00:00.000Z_2021-02-18T17:00:00.000Z_2021-02-18T18:28:48.601Z_97]
at
path[/druid/segments/dx-pipe-pt25-pm:8109/dx-pipe-pt25-pm:8109_indexer-executor__default_tier_2021-02-19T00:13:54.322Z_b62ef49624db40619bdf522d5b96e9f70]
```
All the above is unannouncing logs.
```
2021-02-19T00:51:53,989 INFO [Thread-43] org.apache.zookeeper.ZooKeeper -
Session: 0x501f897c8155294 closed
```
I'm not quite sure why session is closed in zk and if it's related to the
problem.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]