Open cherishDWJ opened 7 years ago
@diwenjing We have recently released 0.9 version of the product. You can download it from releases page: https://github.com/SnappyDataInc/snappydata/releases. (use 0.9 version for both cluster mode and connector program)
For Smart Connector mode, use new property "snappydata.connection" (or "spark.snappydata.connection" if using Apache Spark to connect to SnappyData) with value as "locatorHost:jdbcClientPort" (default client port is 1527). The old (spark.snappydata.store.locators) property will give error.
Since you are connecting from Windows you may have to set HADOOP_HOME and install winutils.exe (as mentioned on the link below) if you see errors- https://jaceklaskowski.gitbooks.io/mastering-apache-spark/content/spark-tips-and-tricks-running-spark-windows.html
@diwenjing Did you get to try the suggestions by @dshirish above? Please try with latest 1.0 RC release (final 1.0 release will be out soon).
My cluster has three hosts, a server, a locator, a lead, locator configuration port is 9998, running my code, sometimes connected, sometimes stuck fixed, no error message: My code:
Console information:
The gemfirexd-interface.log informateion: