huangkaiyan10 opened a new issue #4136: I can shorten elasticsearch index name
URL: https://github.com/apache/skywalking/issues/4136
 
 
   I wanted to use elassandra's elasticsearch feature on this project and 
integrate skywalking link tracking to discover this problem.I used the 
skywalking version is apache-skywalking-apm-6.5.0.
   
   [cassandra] Both keyspace and table name should be comprised of only 
alphanumeric characters, cannot be empty and are limited in size to 48 
characters (that limit exists mostly to avoid filenames (which may include the 
keyspace and table name) to go over the limits of certain file systems). By 
default, keyspace and table names are case insensitive (myTable is equivalent 
to mytable) but case sensitivity can be forced by using double-quotes 
("myTable" is different from mytable).
   
   Below is the error log
   
   2019-12-26 16:38:15,547 - 
org.apache.skywalking.oap.server.starter.OAPServerStartUp - 55 [main] ERROR [] 
- Elasticsearch exception [type=invalid_request_exception, reason=Keyspace 
names shouldn't be more than 48 characters long (got 
"instance_clr_available_completion_port_threads_hour_20191226")]
   org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception 
[type=invalid_request_exception, reason=Keyspace names shouldn't be more than 
48 characters long (got 
"instance_clr_available_completion_port_threads_hour_20191226")]
   at 
org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:177)
 ~[elasticsearch-6.3.2.jar:6.3.2]
   at 
org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:653)
 ~[elasticsearch-rest-high-level-client-6.3.2.jar:6.3.2]
   at 
org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:628)
 ~[elasticsearch-rest-high-level-client-6.3.2.jar:6.3.2]
   at 
org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:535)
 ~[elasticsearch-rest-high-level-client-6.3.2.jar:6.3.2]
   at 
org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:508)
 ~[elasticsearch-rest-high-level-client-6.3.2.jar:6.3.2]
   at org.elasticsearch.client.IndicesClient.create(IndicesClient.java:99) 
~[elasticsearch-rest-high-level-client-6.3.2.jar:6.3.2]
   at 
org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient.createIndex(ElasticSearchClient.java:168)
 ~[library-client-6.5.0.jar:6.5.0]
   at 
org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.StorageEsInstaller.createTable(StorageEsInstaller.java:82)
 ~[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]
   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]

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to