skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

Use mysql as storage failure.

Open taotao365s opened this issue 8 years ago • 18 comments

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [x] Question or discussion
  • [x] Bug
  • [ ] Requirement
  • [ ] Feature or performance improvement

Question

  • What do you want to know? 使用mysql作为存储层

Bug

  • Which version of SkyWalking, OS and JRE? 5.0.0-beta2

  • Which company or project?

  • What happen? If possible, provide a way for reproducing the error. e.g. demo application, component version.


Requirement or improvement

  • Please describe about your requirements or improvement suggestions.
2018-08-07 14:37:03,389 - org.apache.skywalking.apm.collector.boot.CollectorBootStartUp -2323 [main] ERROR [] - Service:org.apache.skywalking.apm.collector.storage.ttl.ITTLConfigService not provided
org.apache.skywalking.apm.collector.core.module.ServiceNotProvidedException: Service:org.apache.skywalking.apm.collector.storage.ttl.ITTLConfigService not provided
        at org.apache.skywalking.apm.collector.core.module.ModuleProvider.requiredCheck(ModuleProvider.java:110) ~[apm-collector-core-5.0.0-beta2.jar:5.0.0-beta2]
        at org.apache.skywalking.apm.collector.core.module.BootstrapFlow.start(BootstrapFlow.java:59) ~[apm-collector-core-5.0.0-beta2.jar:5.0.0-beta2]
        at org.apache.skywalking.apm.collector.core.module.ModuleManager.init(ModuleManager.java:68) ~[apm-collector-core-5.0.0-beta2.jar:5.0.0-beta2]
        at org.apache.skywalking.apm.collector.boot.CollectorBootStartUp.main(CollectorBootStartUp.java:45) [apm-collector-boot-5.0.0-beta2.jar:5.0.0-beta2]
2018-08-07 14:43:49,413 - org.apache.skywalking.apm.collector.boot.config.ApplicationConfigLoader -1263 [main] INFO  [] - Get a module define from application.yml, mo

taotao365s avatar Aug 07 '18 07:08 taotao365s

We don't include MySQL storage provider. What do you mean?

wu-sheng avatar Aug 07 '18 07:08 wu-sheng

@shipengyan You could try to fix this by adding a new service.

@chidaodezhongsheng This may be caused by your contributions. Could you please help to fix that?

FYI @terrymanum

wu-sheng avatar Aug 07 '18 07:08 wu-sheng

hello, skywalking 5.0.0-GA version can support shardingjdbc storage ? have related docs ? thank you for you answer.

chenyi19851209 avatar Oct 23 '18 03:10 chenyi19851209

你好。skywalking 5.0.0-GA按照这个文档https://github.com/apache/incubator-skywalking/blob/5.x/docs/cn/Use-ShardingJDBC-as-storage-implementor-CN.md 配置,会出现以下报错,请问有办法解决吗?

2018-10-23 11:22:10,099 - org.apache.skywalking.apm.collector.boot.CollectorBootStartUp -1193 [main] ERROR [] - Service:org.apache.skywalking.apm.collector.storage.ttl.ITTLConfigService not provided org.apache.skywalking.apm.collector.core.module.ServiceNotProvidedException: Service:org.apache.skywalking.apm.collector.storage.ttl.ITTLConfigService not provided at org.apache.skywalking.apm.collector.core.module.ModuleProvider.requiredCheck(ModuleProvider.java:110) ~[apm-collector-core-5.0.0-GA.jar:5.0.0-GA] at org.apache.skywalking.apm.collector.core.module.BootstrapFlow.start(BootstrapFlow.java:59) ~[apm-collector-core-5.0.0-GA.jar:5.0.0-GA] at org.apache.skywalking.apm.collector.core.module.ModuleManager.init(ModuleManager.java:68) ~[apm-collector-core-5.0.0-GA.jar:5.0.0-GA] at org.apache.skywalking.apm.collector.boot.CollectorBootStartUp.main(CollectorBootStartUp.java:45) [apm-collector-boot-5.0.0-GA.jar:5.0.0-GA]

chenyi19851209 avatar Oct 23 '18 06:10 chenyi19851209

@chidaodezhongsheng

chenyi19851209 avatar Oct 23 '18 06:10 chenyi19851209

Yes, @chidaodezhongsheng is the one taking responsibilities for this feature.

From the log, look like he missed a required service to provide. Need to add the missing one.

wu-sheng avatar Oct 23 '18 12:10 wu-sheng

I met the same issue with Sharding JDBC storage.

mackwan84 avatar Oct 24 '18 07:10 mackwan84

Ping @terrymanu @tristaZero @tuohai666

I just ping the Sharding-Sphere committers, hope they could provide helps. As I said, the codes for this storage solution, it may not be ready.

wu-sheng avatar Oct 24 '18 07:10 wu-sheng

any error log about sharding-jdbc? Maybe I can find some hints.

terrymanu avatar Oct 24 '18 07:10 terrymanu

any error log about sharding-jdbc? Maybe I can find some hints.

I doubt these is sharding jdbc 's bug. This most likely because the sharding jdbc storage implementor can't work.

wu-sheng avatar Oct 24 '18 08:10 wu-sheng

ok, I will have a look

terrymanu avatar Oct 24 '18 08:10 terrymanu

@spy1988 @chenyi19851209 hi, which version of Sharding-Sphere?

tuohai666 avatar Oct 24 '18 09:10 tuohai666

I have added the ttl config service and fix the bug.Thanks a lot @chenyi19851209

chidaodezhongsheng avatar Oct 24 '18 10:10 chidaodezhongsheng

@chidaodezhongsheng Your PR target is incorrect. Please send to 5.x branch.

wu-sheng avatar Oct 24 '18 12:10 wu-sheng

@spy1988 Try the latest 5.x branch codes. Submit new if there are new bugs showing up.

wu-sheng avatar Oct 25 '18 12:10 wu-sheng

Hello, I am trying to use 5.0 GA version with mysql but getting exception which is bellow, can you guys help me ?

2018-12-25 15:47:15,818 - org.apache.skywalking.apm.collector.boot.CollectorBootStartUp -1017 [main] ERROR [] - Service:org.apache.skywalking.apm.collector.storage.ttl.ITTLConfigService not provided org.apache.skywalking.apm.collector.core.module.ServiceNotProvidedException: Service:org.apache.skywalking.apm.collector.storage.ttl.ITTLConfigService not provided at org.apache.skywalking.apm.collector.core.module.ModuleProvider.requiredCheck(ModuleProvider.java:110) ~[apm-collector-core-5.0.0-GA.jar:5.0.0-GA] at org.apache.skywalking.apm.collector.core.module.BootstrapFlow.start(BootstrapFlow.java:59) ~[apm-collector-core-5.0.0-GA.jar:5.0.0-GA] at org.apache.skywalking.apm.collector.core.module.ModuleManager.init(ModuleManager.java:68) ~[apm-collector-core-5.0.0-GA.jar:5.0.0-GA] at org.apache.skywalking.apm.collector.boot.CollectorBootStartUp.main(CollectorBootStartUp.java:45) [apm-collector-boot-5.0.0-GA.jar:5.0.0-GA]

nadirakdag avatar Dec 25 '18 12:12 nadirakdag

@nadirakdag Only 6.x supports MySQL as storage. Please try 6.0.0beta release.

wu-sheng avatar Dec 25 '18 13:12 wu-sheng

@nadirakdag Only 6.x supports MySQL as storage. Please try 6.0.0beta release.

Okey thx

nadirakdag avatar Dec 25 '18 13:12 nadirakdag