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/09/27 06:27:04 UTC

[GitHub] [skywalking] mis98zb opened a new issue #5567: SW_STORAGE_ES_ADVANCED does not work for es7

mis98zb opened a new issue #5567:
URL: https://github.com/apache/skywalking/issues/5567


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [X] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
   I use docker image apache/skywalking-oap-server:8.1.0-es7 downloaded for docker hub.
   
   - What happened?
   I use docker swarm and use yml file to deploy skywalking.
   I add the environment as given in doc: 
   
   > SW_STORAGE_ES_ADVANCED: "{\"index.translog.durability\":\"request\",\"index.translog.sync_interval\":\"5s\"}"
   
   And when I deploy skywalking, the oap container start and then stop in a short time.
   There is error in the log:
   
   > 2020-09-27 06:23:45,286 - org.apache.skywalking.oap.server.starter.OAPServerBootstrap -1081 [main] ERROR [] - Can not set java.lang.String field org.apache.skywalking.oap.server.storage.plugin.elasticsearch.StorageModuleElasticsearchConfig.advanced to java.util.LinkedHashMap
   


----------------------------------------------------------------
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] mis98zb commented on issue #5567: SW_STORAGE_ES_ADVANCED does not work for es7

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


   @kezhenxu94 
   got it, thank you so much~~~


----------------------------------------------------------------
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 #5567: SW_STORAGE_ES_ADVANCED does not work for es7

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


   @mis98zb try
   
   ```yaml
   SW_STORAGE_ES_ADVANCED: '"{\"index.translog.durability\":\"request\",\"index.translog.sync_interval\":\"5s\"}"'
   ```
   
   add single quotes around the value `'`


----------------------------------------------------------------
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] wu-sheng closed issue #5567: SW_STORAGE_ES_ADVANCED does not work for es7

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5567:
URL: https://github.com/apache/skywalking/issues/5567


   


----------------------------------------------------------------
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] mis98zb commented on issue #5567: SW_STORAGE_ES_ADVANCED does not work for es7

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


   > Followed By https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-storage.md#advanced-configurations-for-elasticsearch-index, you need to change `{"index.translog.durability":"request","index.translog.sync_interval":"5s"}` to `{\"index.translog.durability\":\"request\",\"index.translog.sync_interval\":\"5s\"}`
   
   Yes, I do followed the doc.
   I pasted the code directly into GitHub editor, and the dash character is not shown.


----------------------------------------------------------------
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] mis98zb edited a comment on issue #5567: SW_STORAGE_ES_ADVANCED does not work for es7

Posted by GitBox <gi...@apache.org>.
mis98zb edited a comment on issue #5567:
URL: https://github.com/apache/skywalking/issues/5567#issuecomment-699596652


   > Followed By https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-storage.md#advanced-configurations-for-elasticsearch-index, you need to change `{"index.translog.durability":"request","index.translog.sync_interval":"5s"}` to `{\"index.translog.durability\":\"request\",\"index.translog.sync_interval\":\"5s\"}`
   
   Yes, I do followed the doc.
   Why you cannot see the "\" is that I pasted the code directly into GitHub editor, and the dash character is not shown. 
   


----------------------------------------------------------------
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] JaredTan95 commented on issue #5567: SW_STORAGE_ES_ADVANCED does not work for es7

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


   Followed By https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-storage.md#advanced-configurations-for-elasticsearch-index, you need to  change `{"index.translog.durability":"request","index.translog.sync_interval":"5s"}` to `{\"index.translog.durability\":\"request\",\"index.translog.sync_interval\":\"5s\"}`


----------------------------------------------------------------
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] mis98zb edited a comment on issue #5567: SW_STORAGE_ES_ADVANCED does not work for es7

Posted by GitBox <gi...@apache.org>.
mis98zb edited a comment on issue #5567:
URL: https://github.com/apache/skywalking/issues/5567#issuecomment-699596652


   > Followed By https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-storage.md#advanced-configurations-for-elasticsearch-index, you need to change `{"index.translog.durability":"request","index.translog.sync_interval":"5s"}` to `{\"index.translog.durability\":\"request\",\"index.translog.sync_interval\":\"5s\"}`
   
   Yes, I do followed the doc.
   Why you cannot see the "\\" is that I pasted the code directly into GitHub editor, and the "\\" is not shown. 
   


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