This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Elasticsearch error: Failed to init template_task_log #3404
Unanswered
pankajthamkeappdirect
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using conductor version 3.3.5 with ElasticSearch version 6. When I try to deploy on Kubernetes I am getting below error. Could you please help me here to understand the cause ?
48738 [main] INFO com.netflix.conductor.es6.dao.index.ElasticSearchRestDAOV6 [] - Creating the index template 'template_task_log' 48914 [main] ERROR com.netflix.conductor.es6.dao.index.ElasticSearchRestDAOV6 [] - Failed to init template_task_log org.elasticsearch.client.ResponseException: method [PUT], host [http://localhost:9200], URI [/_template/template_task_log], status line [HTTP/1.1 400 Bad Request] {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [keyword] declared on field [log]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [task_log]: No handler for type [keyword] declared on field [log]","caused_by":{"type":"mapper_parsing_exception","reason":"No handler for type [keyword] declared on field [log]"}},"status":400} at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:936) ~[elasticsearch-rest-client-6.8.12.jar!/:6.8.12] at org.elasticsearch.client.RestClient.performRequest(RestClient.java:233) ~[elasticsearch-rest-client-6.8.12.jar!/:6.8.12] at org.elasticsearch.client.RestClient.performRequest(RestClient.java:327) ~[elasticsearch-rest-client-6.8.12.jar!/:6.8.12] at com.netflix.conductor.es6.dao.index.ElasticSearchRestDAOV6.initIndexTemplate(ElasticSearchRestDAOV6.java:275) ~[conductor-es6-persistence-3.4.0-SNAPSHOT.jar!/:3.4.0-SNAPSHOT] at com.netflix.conductor.es6.dao.index.ElasticSearchRestDAOV6.initIndexesTemplates(ElasticSearchRestDAOV6.java:257) ~[conductor-es6-persistence-3.4.0-SNAPSHOT.jar!/:3.4.0-SNAPSHOT] at com.netflix.conductor.es6.dao.index.ElasticSearchRestDAOV6.createIndexesTemplates(ElasticSearchRestDAOV6.java:248) ~[conductor-es6-persistence-3.4.0-SNAPSHOT.jar!/:3.4.0-SNAPSHOT] at com.netflix.conductor.es6.dao.index.ElasticSearchRestDAOV6.setup(ElasticSearchRestDAOV6.java:240) ~[conductor-es6-persistence-3.4.0-SNAPSHOT.jar!/:3.4.0-SNAPSHOT] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[conductor-es7-persistence-3.4.0-SNAPSHOT.jar!/:3.4.0-SNAPSHOT] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[conductor-es7-persistence-3.4.0-SNAPSHOT.jar!/:3.4.0-SNAPSHOT]
Thanks
Beta Was this translation helpful? Give feedback.
All reactions