lianghuiyuan commented on issue #3395:
URL: https://github.com/apache/skywalking/issues/3395#issuecomment-618890675


   我遇到了同样的问题,每天晚上12点之后 oap 就不再收到数据:
   
   OAP logs:
   ```
   $ kubectl logs -f skywalking-skywalking-oap-db86c5bf6-tctfk -n monitoring
   2020-04-24 08:48:52,277 - 
org.apache.skywalking.oap.server.core.analysis.worker.MetricsPersistentWorker 
-8453500 [pool-6-thread-1] ERROR [] - Can't split instance id into 2 parts, .1_
   org.apache.skywalking.oap.server.core.UnexpectedException: Can't split 
instance id into 2 parts, .1_
           at 
org.apache.skywalking.oap.server.core.analysis.IDManager$ServiceInstanceID.analysisId(IDManager.java:118)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.alarm.provider.NotifyHandler.notify(NotifyHandler.java:72)
 ~[server-alarm-plugin-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.alarm.AlarmEntrance.forward(AlarmEntrance.java:39)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.analysis.worker.AlarmNotifyWorker.in(AlarmNotifyWorker.java:41)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.analysis.worker.AlarmNotifyWorker.in(AlarmNotifyWorker.java:30)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.analysis.worker.MetricsPersistentWorker.lambda$nextWorker$2(MetricsPersistentWorker.java:195)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_181]
           at 
org.apache.skywalking.oap.server.core.analysis.worker.MetricsPersistentWorker.nextWorker(MetricsPersistentWorker.java:195)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.analysis.worker.MetricsPersistentWorker.flushDataToStorage(MetricsPersistentWorker.java:184)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.analysis.worker.MetricsPersistentWorker.prepareBatch(MetricsPersistentWorker.java:143)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.analysis.worker.PersistenceWorker.buildBatchRequests(PersistenceWorker.java:108)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.storage.PersistenceTimer.lambda$extractDataAndSave$2(PersistenceTimer.java:99)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_181]
           at 
org.apache.skywalking.oap.server.core.storage.PersistenceTimer.extractDataAndSave(PersistenceTimer.java:93)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.oap.server.core.storage.PersistenceTimer.lambda$start$0(PersistenceTimer.java:71)
 ~[server-core-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
org.apache.skywalking.apm.util.RunnableWithExceptionProtection.run(RunnableWithExceptionProtection.java:33)
 [apm-util-8.0.0-SNAPSHOT.jar:8.0.0-SNAPSHOT]
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[?:1.8.0_181]
           at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) 
[?:1.8.0_181]
           at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
 [?:1.8.0_181]
           at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
 [?:1.8.0_181]
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_181]
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_181]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to