MorgenFreeMan opened a new issue, #2807:
URL: https://github.com/apache/incubator-hugegraph/issues/2807

   ### Problem Type (问题类型)
   
   server status (启动/运行异常)
   
   ### Before submit
   
   - [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 
[FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have 
confirmed and searched that there are no similar problems in the historical 
issue and documents)
   
   ### Environment (环境信息)
   
   - Server Version: 1.5.0 (Apache Release Version)
   
   ### Your Question (问题描述)
   
   启动总是失败
   pd 
返回{"state":"Cluster_Not_Ready","leader":"0.0.0.0:8686","memberSize":0,"storeSize":0,"graphSize":1,"partitionSize":0}
   
   docker-compose-3pd-3store-3server.yml:
   #
   # 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.
   #
   
   # TODO: reuse the configs for same type containers
   # User could modify the node nums and the port by themselves
   version: "3"
   
   networks:
     hugegraph-network:
       driver: bridge
   
   services:
     pd0:
       image: hugegraph-pd:1.5.0
       container_name: pd0
       hostname: pd0
       networks:
         - hugegraph-network
       ports:
         - "8620:8620"
         - "8686:8686"
         - "8610:8610"
       healthcheck:
         test: ["CMD", "lsof", "-i:8620"]
         interval: 10s
         timeout: 5s
         retries: 5
       volumes:
         - ./configs/application-pd0.yml:/hugegraph-pd/conf/application.yml
   
     pd1:
       image: hugegraph-pd:1.5.0
       container_name: pd1
       hostname: pd1
       networks:
         - hugegraph-network
       ports:
         - "8621:8621"
         - "8687:8687"
         - "8611:8611"
       healthcheck:
         test: ["CMD", "lsof", "-i:8621"]
         interval: 10s
         timeout: 5s
         retries: 5
       volumes:
         - ./configs/application-pd1.yml:/hugegraph-pd/conf/application.yml
   
     pd2:
       image: hugegraph-pd:1.5.0
       container_name: pd2
       hostname: pd2
       networks:
         - hugegraph-network
       ports:
         - "8622:8622"
         - "8688:8688"
         - "8612:8612"
       healthcheck:
         test: ["CMD", "lsof", "-i:8622"]
         interval: 10s
         timeout: 5s
         retries: 5
       volumes:
         - ./configs/application-pd2.yml:/hugegraph-pd/conf/application.yml
   
     store0:
       image: hugegraph-store:1.5.0
       container_name: store0
       hostname: store0
       networks:
         - hugegraph-network
       ports:
         - "8520:8520"
         - "8500:8500"
         - "8510:8510"
       depends_on:
         - pd0
         - pd1
         - pd2
       healthcheck:
         test: ["CMD", "lsof", "-i:8520"]
         interval: 10s
         timeout: 5s
         retries: 5
       volumes:
         - 
./configs/application-store0.yml:/hugegraph-store/conf/application.yml
   
     store1:
       image: hugegraph-store:1.5.0
       container_name: store1
       hostname: store1
       networks:
         - hugegraph-network
       ports:
         - "8521:8521"
         - "8501:8501"
         - "8511:8511"
       depends_on:
         - pd0
         - pd1
         - pd2
       healthcheck:
         test: ["CMD", "lsof", "-i:8521"]
         interval: 10s
         timeout: 5s
         retries: 5
       volumes:
         - 
./configs/application-store1.yml:/hugegraph-store/conf/application.yml
   
     store2:
       image: hugegraph-store:1.5.0
       container_name: store2
       hostname: store2
       networks:
         - hugegraph-network
       ports:
         - "8522:8522"
         - "8502:8502"
         - "8512:8512"
       depends_on:
         - pd0
         - pd1
         - pd2
       healthcheck:
         test: ["CMD", "lsof", "-i:8522"]
         interval: 10s
         timeout: 5s
         retries: 5
       volumes:
         - 
./configs/application-store2.yml:/hugegraph-store/conf/application.yml
   
     server1:
       image: hugegraph-server:1.5.0
       container_name: server1
       hostname: server1
       networks:
         - hugegraph-network
       ports:
         - "8081:8081"
         - "8181:8181"  # Gremlin server port
       depends_on:
         - store0
         - store1
         - store2
       healthcheck:
         test: ["CMD", "lsof", "-i:8081"]
         interval: 10s
         timeout: 5s
         retries: 5
       volumes:
         - ./configs/server1-conf:/hugegraph-server/conf
   
     server2:
       image: hugegraph-server:1.5.0
       container_name: server2
       hostname: server2
       networks:
         - hugegraph-network
       ports:
         - "8082:8082"
         - "8182:8182"  # Gremlin server port
       depends_on:
         - store0
         - store1
         - store2
       healthcheck:
         test: ["CMD", "lsof", "-i:8082"]
         interval: 10s
         timeout: 5s
         retries: 5
       volumes:
         - ./configs/server2-conf:/hugegraph-server/conf
   
     server3:
       image: hugegraph-server:1.5.0
       container_name: server3
       hostname: server3
       networks:
         - hugegraph-network
       ports:
         - "8083:8083"
         - "8183:8183"  # Gremlin server port
       depends_on:
         - store0
         - store1
         - store2
       healthcheck:
         test: ["CMD", "lsof", "-i:8083"]
         interval: 10s
         timeout: 5s
         retries: 5
       volumes:
         - ./configs/server3-conf:/hugegraph-server/conf
   
   application-pd0.yml~application-pd2.yml
   #
   # 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.
   #
   
   spring:
     application:
       name: hugegraph-pd
   
   management:
     metrics:
       export:
         prometheus:
           enabled: true
     endpoints:
       web:
         exposure:
           include: "*"
   
   logging:
     config: 'file:./conf/log4j2.xml'
   license:
     verify-path: ./conf/verify-license.json
     license-path: ./conf/hugegraph.license
   grpc:
     port: 8686
     host: 0.0.0.0
   
   server:
     port: 8620
   
   pd:
     data-path: ./pd_data
     patrol-interval: 1800
     initial-store-count: 3
     initial-store-list: store0:8500,store1:8501,store2:8502
   
   raft:
     address: pd0:8610
     peers-list: pd0:8610,pd1:8611,pd2:8612
   
   store:
     max-down-time: 172800
     monitor_data_enabled: true
     monitor_data_interval: 1 minute
     monitor_data_retention: 1 day
     initial-store-count: 3
   
   partition:
     default-shard-count: 1
     store-max-shard-count: 12
   
   
   application-store0.yml~application-store2.yml
   #
   # 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.
   #
   
   pdserver:
     address: pd0:8686,pd1:8687,pd2:8688
   
   management:
     metrics:
       export:
         prometheus:
           enabled: true
     endpoints:
       web:
         exposure:
           include: "*"
   
   grpc:
     host: 0.0.0.0
     port: 8500
     netty-server:
       max-inbound-message-size: 1000MB
   raft:
     disruptorBufferSize: 1024
     address: store0:8510
     max-log-file-size: 600000000000
     snapshotInterval: 1800
   server:
     port: 8520
   
   app:
     data-path: ./storage
   
   spring:
     application:
       name: store-node-grpc-server
     profiles:
       active: default
       include: pd
   
   logging:
     config: 'file:./conf/log4j2.xml'
     level:
       root: info
   
   
   hugegraph.properties:
   # auth config: org.apache.hugegraph.auth.HugeFactoryAuthProxy
   gremlin.graph=org.apache.hugegraph.HugeFactory
   
   # cache config
   vertex.cache_type=l2
   edge.cache_type=l2
   
   store=hugegraph
   backend=hstore
   serializer=binary
   
   # pd config
   pd.peers=pd0:8686,pd1:8687,pd2:8688
   
   # task config
   task.scheduler_type=local
   task.schedule_period=10
   task.retry=0
   task.wait_timeout=10
   
   其他的配置都是github1.5分支incubator-hugegraph/docker的没变
   
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   
   ```
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   ```javascript
   
   ```


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

To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to