octo-ns/conf/snapshot 这个文件在哪儿,zookeeper初始化可能有问题,nsc启动报错
wxx213 opened this issue · comments
Caused by: java.lang.NullPointerException
at com.meituan.octo.mnsc.remote.zk$.url(zk.scala:107) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.remote.zk$.getURLCn2(zk.scala:64) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.remote.zk$.com$meituan$octo$mnsc$remote$zk$$getZk(zk.scala:48) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.remote.zk$$anonfun$1.apply(zk.scala:42) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.remote.zk$$anonfun$1.apply(zk.scala:42) ~[classes!/:1.0.0]
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[scala-library-2.10.7.jar!/:?]
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) ~[scala-library-2.10.7.jar!/:?]
at scala.collection.immutable.Range.foreach(Range.scala:141) ~[scala-library-2.10.7.jar!/:?]
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251) ~[scala-library-2.10.7.jar!/:?]
at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105) ~[scala-library-2.10.7.jar!/:?]
at com.meituan.octo.mnsc.remote.zk$.(zk.scala:42) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.remote.zk$.(zk.scala) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.utils.mnscCommon$.getAppFromZK(mnscCommon.scala:72) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.utils.mnscCommon$.allApp(mnscCommon.scala:82) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.utils.mnscCommon$.allAppkeys(mnscCommon.scala:91) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.dataCache.providerBaseCache.renewAllProviderForce(providerBaseCache.scala:122) ~[classes!/:1.0.0]
at com.meituan.octo.mnsc.bootstrap.bootstrap.init(bootstrap.scala:33) ~[classes!/:1.0.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1760) ~[spring-beans-4.3.21.RELEASE.jar!/:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1697) ~[spring-beans-4.3.21.RELEASE.jar!/:4.3.21.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1627) ~[spring-beans-4.3.21.RELEASE.jar!/:4.3.21.RELEASE]
... 24 more
Heap
par new generation total 1887488K, used 1543607K [0x00000006c0000000, 0x0000000740000000, 0x0000000740000000)
eden space 1677824K, 92% used [0x00000006c0000000, 0x000000071e36dc80, 0x0000000726680000)
from space 209664K, 0% used [0x0000000726680000, 0x0000000726680000, 0x0000000733340000)
to space 209664K, 0% used [0x0000000733340000, 0x0000000733340000, 0x0000000740000000)
concurrent mark-sweep generation total 2097152K, used 0K [0x0000000740000000, 0x00000007c0000000, 0x00000007c0000000)
Metaspace used 35437K, capacity 35872K, committed 36236K, reserved 1081344K
class space used 4409K, capacity 4541K, committed 4616K, reserved 1048576K