alibaba / spring-cloud-alibaba

Spring Cloud Alibaba provides a one-stop solution for application development for the distributed solutions of Alibaba middleware.
https://sca.aliyun.com
Apache License 2.0
27.92k stars 8.33k forks source link

相同问题。k8s + efs #3271

Closed Salhazry closed 1 year ago

Salhazry commented 1 year ago
          相同问题。k8s + efs 
Caused by: java.lang.IllegalStateException: Fail to init node, please see the logs to find the reason.                                                                                                                                                                
        at com.alipay.sofa.jraft.RaftServiceFactory.createAndInitRaftNode(RaftServiceFactory.java:48)                                                                                                                                                                 
        at com.alipay.sofa.jraft.RaftGroupService.start(RaftGroupService.java:129)                                                                                                                                                                                    
        at com.alibaba.nacos.core.distributed.raft.JRaftServer.createMultiRaftGroup(JRaftServer.java:268)                                                                                                                                                             
        at com.alibaba.nacos.core.distributed.raft.JRaftProtocol.addRequestProcessors(JRaftProtocol.java:163)                                                                                                                                                         
        at com.alibaba.nacos.naming.consistency.persistent.impl.PersistentServiceProcessor.afterConstruct(PersistentServiceProcessor.java:79)                                                                                                                         
        at com.alibaba.nacos.naming.consistency.persistent.PersistentConsistencyServiceDelegateImpl.createNewPersistentServiceProcessor(PersistentConsistencyServiceDelegateImpl.java:108)                                                                            
        at com.alibaba.nacos.naming.consistency.persistent.PersistentConsistencyServiceDelegateImpl.<init>(PersistentConsistencyServiceDelegateImpl.java:54)                                                                                                          
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)                                                                                                                                                                                      
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)                                                                                                                                                               
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)                                                                                                                                                       
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)                                                                                                                                                                                            
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:175)                                                                                                                                                                                   
        ... 156 common frames omitted

alipay-jraft.log:

ERROR Fail to init RocksDBLogStorage, path=/home/nacos/data/protocol/raft/naming_persistent_service/log.                                                                                                                                      

org.rocksdb.RocksDBException: While lock file: /home/nacos/data/protocol/raft/naming_persistent_service/log/LOCK: Resource temporarily unavailable

Originally posted by @myifeng in https://github.com/alibaba/nacos/issues/7466#issuecomment-1074638810

123liuziming commented 1 year ago

It seems to be a problem at the nacos storage engine level.

github-actions[bot] commented 1 year ago

This issue has been open 30 days with no activity. This will be closed in 7 days.

myifeng commented 1 year ago

邮件已收到,我会尽快处理!

github-actions[bot] commented 1 year ago

This issue has been open 30 days with no activity. This will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it hasn't had any recent activity.If you think this should still be open, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. Thank you for your interest and contribution to the Sping Cloud Alibaba Community.