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 2020/12/16 08:13:25 UTC

[GitHub] [skywalking] Shuang-Han opened a new issue #6016: V8.3 can not switch storage to es7

Shuang-Han opened a new issue #6016:
URL: https://github.com/apache/skywalking/issues/6016


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Bug
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   8.3
   - Which company or project?
   oap
   - What happened?
   When I switch storage to es7 in application.yml like below
   
   ```xml
   storage:
     selector: ${SW_STORAGE:elasticsearch7}
     h2:
       driver: ${SW_STORAGE_H2_DRIVER:org.h2.jdbcx.JdbcDataSource}
       url: ${SW_STORAGE_H2_URL:jdbc:h2:mem:skywalking-oap-db}
       user: ${SW_STORAGE_H2_USER:sa}
       metadataQueryMaxSize: ${SW_STORAGE_H2_QUERY_MAX_SIZE:5000}
       maxSizeOfArrayColumn: ${SW_STORAGE_MAX_SIZE_OF_ARRAY_COLUMN:20}
       numOfSearchableValuesPerTag: ${SW_STORAGE_NUM_OF_SEARCHABLE_VALUES_PER_TAG:2}
     elasticsearch7:
       nameSpace: ${SW_NAMESPACE:"apm83"}
       #clusterNodes: ${SW_STORAGE_ES_CLUSTER_NODES:middle1.bms.prod.yzw.cn:9202,middle2.bms.prod.yzw.cn:9202,middle3.bms.prod.yzw.cn:9202}
       clusterNodes: ${SW_STORAGE_ES_CLUSTER_NODES:172.16.0.179:9200}
       protocol: ${SW_STORAGE_ES_HTTP_PROTOCOL:"http"}
       trustStorePath: ${SW_STORAGE_ES_SSL_JKS_PATH:""}
       trustStorePass: ${SW_STORAGE_ES_SSL_JKS_PASS:""}
       dayStep: ${SW_STORAGE_DAY_STEP:1} # Represent the number of days in the one minute/hour/day index.
       indexShardsNumber: ${SW_STORAGE_ES_INDEX_SHARDS_NUMBER:1} # Shard number of new indexes
       indexReplicasNumber: ${SW_STORAGE_ES_INDEX_REPLICAS_NUMBER:0} # Replicas number of new indexes
       # Super data set has been defined in the codes, such as trace segments.The following 3 config would be improve es performance when storage super size data in es.
       superDatasetDayStep: ${SW_SUPERDATASET_STORAGE_DAY_STEP:-1} # Represent the number of days in the super size dataset record index, the default value is the same as dayStep when the value is less than 0
       superDatasetIndexShardsFactor: ${SW_STORAGE_ES_SUPER_DATASET_INDEX_SHARDS_FACTOR:1} #  This factor provides more shards for the super data set, shards number = indexShardsNumber * superDatasetIndexShardsFactor. Also, this factor effects Zipkin and Jaeger traces.
       superDatasetIndexReplicasNumber: ${SW_STORAGE_ES_SUPER_DATASET_INDEX_REPLICAS_NUMBER:0} # Represent the replicas number in the super size dataset record index, the default value is 0.
       user: ${SW_ES_USER:""}
       password: ${SW_ES_PASSWORD:""}
       secretsManagementFile: ${SW_ES_SECRETS_MANAGEMENT_FILE:""} # Secrets management file in the properties format includes the username, password, which are managed by 3rd party tool.
       bulkActions: ${SW_STORAGE_ES_BULK_ACTIONS:1000} # Execute the async bulk record data every ${SW_STORAGE_ES_BULK_ACTIONS} requests
       syncBulkActions: ${SW_STORAGE_ES_SYNC_BULK_ACTIONS:50000} # Execute the sync bulk metrics data every ${SW_STORAGE_ES_SYNC_BULK_ACTIONS} requests
       flushInterval: ${SW_STORAGE_ES_FLUSH_INTERVAL:10} # flush the bulk every 10 seconds whatever the number of requests
       concurrentRequests: ${SW_STORAGE_ES_CONCURRENT_REQUESTS:2} # the number of concurrent requests
       resultWindowMaxSize: ${SW_STORAGE_ES_QUERY_MAX_WINDOW_SIZE:10000}
       metadataQueryMaxSize: ${SW_STORAGE_ES_QUERY_MAX_SIZE:5000}
       segmentQueryMaxSize: ${SW_STORAGE_ES_QUERY_SEGMENT_SIZE:200}
       profileTaskQueryMaxSize: ${SW_STORAGE_ES_QUERY_PROFILE_TASK_SIZE:200}
       advanced: ${SW_STORAGE_ES_ADVANCED:""}
   ```
   
   log show `org.apache.skywalking.oap.server.library.module.ProviderNotFoundException: storage module no provider found.`
   
   But when I switch storage to h2, it works well.


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



[GitHub] [skywalking] kezhenxu94 closed issue #6016: V8.3 can not switch storage to es7

Posted by GitBox <gi...@apache.org>.
kezhenxu94 closed issue #6016:
URL: https://github.com/apache/skywalking/issues/6016


   


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



[GitHub] [skywalking] kezhenxu94 commented on issue #6016: V8.3 can not switch storage to es7

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6016:
URL: https://github.com/apache/skywalking/issues/6016#issuecomment-745918901


   https://www.apache.org/dyn/closer.cgi/skywalking/8.3.0/apache-skywalking-apm-es7-8.3.0.tar.gz


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



[GitHub] [skywalking] cuiweiwei commented on issue #6016: V8.3 can not switch storage to es7

Posted by GitBox <gi...@apache.org>.
cuiweiwei commented on issue #6016:
URL: https://github.com/apache/skywalking/issues/6016#issuecomment-755182630


   In IDEļ¼Œuse OAPServerStartUp in server-starter-es7 to run backend if you use es7.


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



[GitHub] [skywalking] suBoMan commented on issue #6016: V8.3 can not switch storage to es7

Posted by GitBox <gi...@apache.org>.
suBoMan commented on issue #6016:
URL: https://github.com/apache/skywalking/issues/6016#issuecomment-755171407


   I have the same 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:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 commented on issue #6016: V8.3 can not switch storage to es7

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6016:
URL: https://github.com/apache/skywalking/issues/6016#issuecomment-745899277


   There are dedicated `tar.gz` for ES6 and ES7, download the one for ES7 and retry


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



[GitHub] [skywalking] tirelibirefe commented on issue #6016: V8.3 can not switch storage to es7

Posted by GitBox <gi...@apache.org>.
tirelibirefe commented on issue #6016:
URL: https://github.com/apache/skywalking/issues/6016#issuecomment-1005064027


   is there anybody who has succeeded to work skywalker with ElasticSearch by anyway?


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

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org