-
Notifications
You must be signed in to change notification settings - Fork 18
Description
With snappy0.9, we did not start locator successfully, and get these message:
Starting Thrift server for SnappyData at address snappydata-locator-0/10.244.7.213[1527] java.lang.Exception: No available status. Either status file ".snappylocator.ser" is not readable or reading the status file timed out. at com.gemstone.gemfire.internal.cache.CacheServerLauncher.waitForRunning(CacheServerLauncher.java:1489) at com.gemstone.gemfire.internal.cache.CacheServerLauncher.start(CacheServerLauncher.java:659) at com.pivotal.gemfirexd.tools.internal.GfxdServerLauncher.run(GfxdServerLauncher.java:796) at io.snappydata.tools.LocatorLauncher.run(GfxdLauncherOverrides.scala:73) at io.snappydata.tools.LocatorLauncher$.main(GfxdLauncherOverrides.scala:90) at io.snappydata.tools.LocatorLauncher.main(GfxdLauncherOverrides.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.gemstone.gemfire.internal.GemFireUtilLauncher.invoke(GemFireUtilLauncher.java:176) at com.pivotal.gemfirexd.tools.GfxdUtilLauncher.invoke(GfxdUtilLauncher.java:257) at io.snappydata.tools.SnappyUtilLauncher.invoke(SnappyUtilLauncher.scala:91) at io.snappydata.tools.SnappyUtilLauncher$.main(SnappyUtilLauncher.scala:137) at io.snappydata.tools.SnappyUtilLauncher.main(SnappyUtilLauncher.scala)
The reason is the method "createLocator" in InternalLocator.java failed, then .snappylocator.ser is not generated, "waitForRunning" in CacheServerLauncher.java report the ".snappylocator.ser" is not readable.
But we did not known why does "createLocator" fail? The method "createLocator" did not throw exception. Does anyone help adding "throw Exeption" for method "createLocator"?