hanahmily commented on issue #1710: Test: Integrate skywalking-ui and oap-server
URL: 
https://github.com/apache/incubator-skywalking/issues/1710#issuecomment-424987068
 
 
   @peng-yongsheng 
   The mesh-receiver module doesn't start up with buffer cache error, logs is 
shown details:
   
   ```
   2018-09-27 15:18:53,061 - 
org.apache.skywalking.oap.server.library.module.ModuleDefine -1556 [main] INFO  
[] - Prepare the elasticsearch provider in storage module.
   2018-09-27 15:18:53,102 - 
org.apache.skywalking.oap.server.library.module.ModuleDefine -1597 [main] INFO  
[] - Prepare the standalone provider in cluster module.
   2018-09-27 15:18:53,111 - 
org.apache.skywalking.oap.server.library.module.ModuleDefine -1606 [main] INFO  
[] - Prepare the default provider in core module.
   2018-09-27 15:18:53,191 - 
org.apache.skywalking.oap.server.library.server.grpc.GRPCServer -1686 [main] 
INFO  [] - Server started, host 0.0.0.0 listening on 11800
   2018-09-27 15:18:53,222 - org.eclipse.jetty.util.log -1717 [main] INFO  [] - 
Logging initialized @1782ms to org.eclipse.jetty.util.log.Slf4jLog
   2018-09-27 15:18:53,322 - 
org.apache.skywalking.oap.server.library.server.jetty.JettyServer -1817 [main] 
INFO  [] - http server root context path: /
   2018-09-27 15:18:53,447 - 
org.apache.skywalking.oap.server.library.module.ModuleDefine -1942 [main] INFO  
[] - Prepare the graphql provider in query module.
   2018-09-27 15:18:53,861 - com.coxautodev.graphql.tools.SchemaClassScanner 
-2356 [main] WARN  [] - Schema type was defined but can never be accessed, and 
can be safely deleted: NodeType
   2018-09-27 15:18:54,204 - 
org.apache.skywalking.oap.server.library.module.ModuleDefine -2699 [main] INFO  
[] - Prepare the default provider in alarm module.
   2018-09-27 15:18:54,226 - 
org.apache.skywalking.oap.server.library.module.ModuleDefine -2721 [main] INFO  
[] - Prepare the default provider in service-mesh module.
   2018-09-27 15:18:54,250 - 
org.apache.skywalking.oap.server.library.buffer.BufferStream -2745 [main] INFO  
[] - Try to lock buffer directory, directory is: ../buffermesh/
   2018-09-27 15:18:54,257 - 
org.apache.skywalking.oap.server.library.buffer.BufferStream -2752 [main] INFO  
[] - Lock buffer directory successfully, directory is: ../buffermesh/
   Exception in thread "main" java.lang.AssertionError: Still in preparing 
stage.
        at 
org.apache.skywalking.oap.server.library.module.ModuleManager.assertPreparedStage(ModuleManager.java:82)
        at 
org.apache.skywalking.oap.server.library.module.ModuleManager.find(ModuleManager.java:73)
        at 
org.apache.skywalking.aop.server.receiver.mesh.TelemetryDataDispatcher.setCache(TelemetryDataDispatcher.java:56)
        at 
org.apache.skywalking.aop.server.receiver.mesh.MeshReceiverProvider.prepare(MeshReceiverProvider.java:53)
        at 
org.apache.skywalking.oap.server.library.module.ModuleDefine.prepare(ModuleDefine.java:87)
        at 
org.apache.skywalking.oap.server.library.module.ModuleManager.init(ModuleManager.java:49)
        at 
org.apache.skywalking.oap.server.starter.OAPServerStartUp.main(OAPServerStartUp.java:38)
   ```
   
   The application.yml is 
   ```yaml
   # Licensed to the Apache Software Foundation (ASF) under one
   # or more contributor license agreements.  See the NOTICE file
   # distributed with this work for additional information
   # regarding copyright ownership.  The ASF licenses this file
   # to you under the Apache License, Version 2.0 (the
   # "License"); you may not use this file except in compliance
   # with the License.  You may obtain a copy of the License at
   #
   #     http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   
   cluster:
     standalone:
   #  zookeeper:
   #    hostPort: localhost:2181
   #    # Retry Policy
   #    baseSleepTimeMs: 1000 # initial amount of time to wait between retries
   #    maxRetries: 3 # max number of times to retry
   #  kubernetes:
   #    watchTimeoutSeconds: 60
   #    namespace: default
   #    labelSelector: app=collector,release=skywalking
   #    uidEnvName: SKYWALKING_COLLECTOR_UID
   core:
     default:
       restHost: 0.0.0.0
       restPort: 12800
       restContextPath: /
       gRPCHost: 0.0.0.0
       gRPCPort: 11800
   storage:
     elasticsearch:
       clusterNodes: localhost:9200
       indexShardsNumber: 2
       indexReplicasNumber: 0
       # Batch process setting, refer to 
https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.5/java-docs-bulk-processor.html
       bulkActions: 2000 # Execute the bulk every 2000 requests
       bulkSize: 20 # flush the bulk every 20mb
       flushInterval: 10 # flush the bulk every 10 seconds whatever the number 
of requests
       concurrentRequests: 2 # the number of concurrent requests
       # Set a timeout on metric data. After the timeout has expired, the 
metric data will automatically be deleted.
       traceDataTTL: 90 # Unit is minute
       minuteMetricDataTTL: 90 # Unit is minute
       hourMetricDataTTL: 36 # Unit is hour
       dayMetricDataTTL: 45 # Unit is day
       monthMetricDataTTL: 18 # Unit is month
   receiver-register:
     default:
   receiver-trace:
     default:
       bufferPath: ../buffer/  # Path to trace buffer files, suggest to use 
absolute path
       bufferOffsetMaxFileSize: 100 # Unit is MB
       bufferDataMaxFileSize: 500 # Unit is MB
       bufferFileCleanWhenRestart: false
   receiver-jvm:
     default:
   service-mesh:
     default:
       bufferPath: ../buffermesh/  # Path to trace buffer files, suggest to use 
absolute path
       bufferOffsetMaxFileSize: 100 # Unit is MB
       bufferDataMaxFileSize: 500 # Unit is MB
       bufferFileCleanWhenRestart: false
   istio-telemetry:
     default:
   query:
     graphql:
       path: /graphql
   alarm:
     default:
   
   ```
   code base is 69cccd15414f23fad878db4d83d6bbc28c7dca59

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to