pinpoint-apm / pinpoint

APM, (Application Performance Management) tool for large-scale distributed systems.
https://pinpoint-apm.gitbook.io/
Apache License 2.0
13.37k stars 3.75k forks source link

2.3.0 links are disappeared ,only icons left in all service map #8245

Open ethan-peng opened 3 years ago

ethan-peng commented 3 years ago

I upgraded pinpoint from 2.1.0 to 2.3.0. After upgraded , links are disappeared ,only icons left in all service map. There are lots of logs appears like following and I have never seen them before in version 2.1.0 Why does this happen and how should it be repaired

`09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.c.MapController -- Select applicationMap. option=MapServiceOption{sourceApplication=call-server(SPRING_BOOT:1210), range=Range{from=1631844937000 < to=1631848537000, range=3600000}, searchOption=SearchOption{callerSearchDepth=1, calleeSearchDepth=1, linkSelectorType=UNIDIRECTIONAL, wasOnly=false}, nodeType=BASIC, linkType=BASIC, useStatisticsAgentState=false} 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.m.UnidirectionalLinkSelector -- outbound depth search start. callerDepth:0, calleeDepth:0, size:1, nodes:[call-server(SPRING_BOOT:1210)] 09-17 11:15:37.037 [io-7777-exec-10] WARN c.n.p.w.s.m.VirtualLinkMarker -- one to N replaced. node:call-server(SPRING_BOOT:1210)->host:[10.0.5.16:9092, 10.0.5.12:9092, 10.0.5.19:9092, 10.0.5.18:9092, 10.0.5.15:9092, 10.0.5.17:9092] accept:[AcceptApplication{host='[10.0.5.16:9092, 10.0.5.12:9092, 10.0.5.19:9092, 10.0.5.18:9092, 10.0.5.15:9092, 10.0.5.17:9092]', application=10.0.5.16:9092, 10.0.5.12:9092, 10.0.5.19:9092, 10.0.5.18:9092, 10.0.5.15:9092, 10.0.5.17:9092}, AcceptApplication{host='[10.0.5.16:9092, 10.0.5.12:9092, 10.0.5.19:9092, 10.0.5.18:9092, 10.0.5.15:9092, 10.0.5.17:9092]', application=car-team-service(SPRING_BOOT:1210)}] 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.m.UnidirectionalLinkSelector -- outbound depth search end. callerDepth:0, calleeDepth:0 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.m.UnidirectionalLinkSelector -- inbound depth search start. callerDepth:0, calleeDepth:0, size:1, nodes:[call-server(SPRING_BOOT:1210)] 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.m.UnidirectionalLinkSelector -- inbound depth search end. callerDepth:0, calleeDepth:0 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.m.UnidirectionalLinkSelector -- outbound depth search start. callerDepth:1, calleeDepth:1, size:7, nodes:[10.0.5.16:9092,10.0.5.12:9092,10.0.5.19:9092,10.0.5.18:9092,10.0.5.15:9092,10.0.5.17:9092(KAFKA_CLIENT:8660), vsptrunk-datacenter(SPRING_BOOT:1210), car-team-service(SPRING_BOOT:1210), 10.0.5.16:9092, 10.0.5.12:9092, 10.0.5.19:9092, 10.0.5.18:9092, 10.0.5.15:9092, 10.0.5.17:9092, d-user-core-service(SPRING_BOOT:1210), d-user-vehicle-service(SPRING_BOOT:1210), vsptrunk-remote(SPRING_BOOT:1210)] 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.m.UnidirectionalLinkSelector -- outbound depth search end. callerDepth:1, calleeDepth:1 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.m.UnidirectionalLinkSelector -- inbound depth search start. callerDepth:1, calleeDepth:1, size:2, nodes:[call-server_SPRING_BOOT(USER:2), vsptrunk-datacenter(SPRING_BOOT:1210)] 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.m.UnidirectionalLinkSelector -- inbound depth search end. callerDepth:1, calleeDepth:1 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.m.VirtualLinkHandler -- unpopulated emulated nodes : [car-team-service(SPRING_BOOT:1210), 10.0.5.16:9092, 10.0.5.12:9092, 10.0.5.19:9092, 10.0.5.18:9092, 10.0.5.15:9092, 10.0.5.17:9092] 09-17 11:15:37.037 [io-7777-exec-10] ERROR c.n.p.w.s.m.VirtualLinkHandler -- targetLinkData not found findLinkKey:LinkKey{fromApplication='call-server', fromServiceType=SPRING_BOOT, toApplication='car-team-service', toServiceType=SPRING_BOOT, hash=-78479548} 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.a.ApplicationMapBuilder -- Building application map 09-17 11:15:37.037 [io-7777-exec-10] INFO c.n.p.w.s.MapServiceImpl -- ApplicationMap BuildTime: StopWatch 'ApplicationMap': running time = 110141839 ns

ns % Task name

059834870 054% ApplicationMap Hbase Io Fetch(Caller,Callee) Time 050306969 046% ApplicationMap MapBuilding(Response) Time`

yjqg6666 commented 3 years ago

I guess you might be using HBase 2.x, but released jars for HBase 1.x are used.

I had the same issue.

For HBase 2.x you can use the unofficial build, or build from source, or use HBase 1.4.x.

ethan-peng commented 3 years ago

好使了!

yjqg6666 commented 3 years ago

Please use English for communication, or English plus Chinese. So the others can understand what we are discussing about. Does it work?

ethan-peng commented 3 years ago

I build it from source. It works , all links are back.

yjqg6666 commented 2 years ago

If your problem is resolved, how about closing the issue? @ethan-peng