You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/12/04 05:10:04 UTC

[GitHub] [skywalking] walkersing commented on issue #3047: facing issue while connecting collector to elastic 7.1

walkersing commented on issue #3047: facing issue while connecting collector to elastic 7.1
URL: https://github.com/apache/skywalking/issues/3047#issuecomment-561479476
 
 
   skywalking 6.5.0
   es 7.5.0
   the same as error
   
   > `2019-12-04 12:56:21,948 - org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.StorageEsInstaller - 69 [main] INFO  [] - index alarm_record's columnTypeEsMapping builder str: {"type":{"properties":{"scope":{"type":"integer"},"name":{"type":"keyword"},"id0":{"type":"integer"},"id1":{"type":"integer"},"start_time":{"type":"long"},"alarm_message":{"type":"keyword","copy_to":"alarm_message_match"},"alarm_message_match":{"type":"text","analyzer":"oap_analyzer"},"time_bucket":{"type":"long"}}}}
   2019-12-04 12:56:23,295 - org.apache.skywalking.oap.server.starter.OAPServerStartUp - 55 [main] ERROR [] - method [PUT], host [http://192.168.1.16:9200], URI [/_template/alarm_record], status line [HTTP/1.1 400 Bad Request]
   {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters:  [type : {properties={start_time={type=long}, id0={type=integer}, scope={type=integer}, id1={type=integer}, name={type=keyword}, alarm_message={copy_to=alarm_message_match, type=keyword}, alarm_message_match={analyzer=oap_analyzer, type=text}, time_bucket={type=long}}}]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:  [type : {properties={start_time={type=long}, id0={type=integer}, scope={type=integer}, id1={type=integer}, name={type=keyword}, alarm_message={copy_to=alarm_message_match, type=keyword}, alarm_message_match={analyzer=oap_analyzer, type=text}, time_bucket={type=long}}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters:  [type : {properties={start_time={type=long}, id0={type=integer}, scope={type=integer}, id1={type=integer}, name={type=keyword}, alarm_message={copy_to=alarm_message_match, type=keyword}, alarm_message_match={analyzer=oap_analyzer, type=text}, time_bucket={type=long}}}]"}},"status":400}
   org.apache.skywalking.oap.server.library.module.ModuleStartException: method [PUT], host [http://192.168.1.16:9200], URI [/_template/alarm_record], status line [HTTP/1.1 400 Bad Request]
   {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters:  [type : {properties={start_time={type=long}, id0={type=integer}, scope={type=integer}, id1={type=integer}, name={type=keyword}, alarm_message={copy_to=alarm_message_match, type=keyword}, alarm_message_match={analyzer=oap_analyzer, type=text}, time_bucket={type=long}}}]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:  [type : {properties={start_time={type=long}, id0={type=integer}, scope={type=integer}, id1={type=integer}, name={type=keyword}, alarm_message={copy_to=alarm_message_match, type=keyword}, alarm_message_match={analyzer=oap_analyzer, type=text}, time_bucket={type=long}}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters:  [type : {properties={start_time={type=long}, id0={type=integer}, scope={type=integer}, id1={type=integer}, name={type=keyword}, alarm_message={copy_to=alarm_message_match, type=keyword}, alarm_message_match={analyzer=oap_analyzer, type=text}, time_bucket={type=long}}}]"}},"status":400}
   	at org.apache.skywalking.oap.server.storage.plugin.elasticsearch.StorageModuleElasticsearchProvider.start(StorageModuleElasticsearchProvider.java:141) ~[storage-elasticsearch-plugin-6.5.0.jar:6.5.0]
   	at org.apache.skywalking.oap.server.library.module.BootstrapFlow.start(BootstrapFlow.java:61) ~[library-module-6.5.0.jar:6.5.0]
   	at org.apache.skywalking.oap.server.library.module.ModuleManager.init(ModuleManager.java:67) ~[library-module-6.5.0.jar:6.5.0]
   	at org.apache.skywalking.oap.server.starter.OAPServerStartUp.main(OAPServerStartUp.java:43) [server-starter-6.5.0.jar:6.5.0]
   Caused by: org.apache.skywalking.oap.server.core.storage.StorageException: method [PUT], host [http://192.168.1.16:9200], URI [/_template/alarm_record], status line [HTTP/1.1 400 Bad Request]
   {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters:  [type : {properties={start_time={type=long}, id0={type=integer}, scope={type=integer}, id1={type=integer}, name={type=keyword}, alarm_message={copy_to=alarm_message_match, type=keyword}, alarm_message_match={analyzer=oap_analyzer, type=text}, time_bucket={type=long}}}]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:  [type : {properties={start_time={type=long}, id0={type=integer}, scope={type=integer}, id1={type=integer}, name={type=keyword}, alarm_message={copy_to=alarm_message_match, type=keyword}, alarm_message_match={analyzer=oap_analyzer, type=text}, time_bucket={type=long}}}]","caused_by":{"type":"mapper_parsing_exception","reason":"Root mapping definition has unsupported parameters:  [type : {properties={start_time={type=long}, id0={type=integer}, scope={type=integer}, id1={type=integer}, name={type=keyword}, alarm_message={copy_to=alarm_message_match, type=keyword}, alarm_message_match={analyzer=oap_analyzer, type=text}, time_bucket={type=long}}}]"}},"status":400}
   	at org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.StorageEsInstaller.createTable(StorageEsInstaller.java:96) ~[storage-elasticsearch-plugin-6.5.0.jar:6.5.0]
   	at org.apache.skywalking.oap.server.core.storage.model.ModelInstaller.install(ModelInstaller.java:61) ~[server-core-6.5.0.jar:6.5.0]
   	at org.apache.skywalking.oap.server.storage.plugin.elasticsearch.StorageModuleElasticsearchProvider.start(StorageModuleElasticsearchProvider.java:136) ~[storage-elasticsearch-plugin-6.5.0.jar:6.5.0]
   	... 3 more`

----------------------------------------------------------------
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