You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/11/07 02:44:49 UTC
[GitHub] [incubator-druid] jihoonson opened a new issue #8837: Kafka
indexing task can fail during rolling update
jihoonson opened a new issue #8837: Kafka indexing task can fail during rolling update
URL: https://github.com/apache/incubator-druid/issues/8837
### Affected Version
When updating 0.15 or earlier -> 0.16
### Description
https://github.com/apache/incubator-druid/pull/7319 has removed an unused parameter, but it can cause task failures during rolling update with the following error.
```
2019-11-07T00:23:20,740 WARN [task-runner-0-priority-0] org.apache.druid.indexing.common.actions.RemoteTaskActionClient - Exception submitting action for task[index_kafka_clarity-cloud0_7c42ed11c91cf72_ghfhppbk]
org.apache.druid.java.util.common.IOE: Error with status[400 Bad Request] and message[{"error":"Instantiation of [simple type, class org.apache.druid.indexing.common.actions.CheckPointDataSourceMetadataAction] value failed: currentCheckPoint (through reference chain: org.apache.druid.indexing.common.actions.TaskActionHolder[\"action\"])"}]. Check overlord logs for details.
at org.apache.druid.indexing.common.actions.RemoteTaskActionClient.submit(RemoteTaskActionClient.java:94) [druid-indexing-service-0.16.0-incubating-iap3.jar:0.16.0-incubating-iap3]
at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner.runInternal(SeekableStreamIndexTaskRunner.java:736) [druid-indexing-service-0.16.0-incubating-iap3.jar:0.16.0-incubating-iap3]
at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner.run(SeekableStreamIndexTaskRunner.java:259) [druid-indexing-service-0.16.0-incubating-iap3.jar:0.16.0-incubating-iap3]
at org.apache.druid.indexing.seekablestream.SeekableStreamIndexTask.run(SeekableStreamIndexTask.java:177) [druid-indexing-service-0.16.0-incubating-iap3.jar:0.16.0-incubating-iap3]
at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:419) [druid-indexing-service-0.16.0-incubating-iap3.jar:0.16.0-incubating-iap3]
at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:391) [druid-indexing-service-0.16.0-incubating-iap3.jar:0.16.0-incubating-iap3]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
```
To fix this issue, `CheckPointDataSourceMetadataAction` can have a method as below to add the missing property in its serialized JSON.
```java
// For backwards compatibility
@Deprecated
@JsonProperty
public SeekableStreamDataSourceMetadata getCurrentCheckPoint()
{
return checkpointMetadata;
}
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org