在使用命令行参数启动snappydata时,我将得到以下错误
错误38000:(SQLState=38000 Severity=20000) (服务器=/X.1571528线程=ThriftProcessor-0)在计算表达式时抛出了异常'com.gemstone.gemfire.cache.TimeoutException:无法访问的蜂窝元存储中的SnappyData目录‘。
下面是我用来启动集群的脚本。
./bin/snappy locator start -dir=work/localhost-locator-1 -bind-address=X.X.X.157 -client-bind-address=X.X.X.157 -hostname-for-clients=X.X.X.157
./bin/snappy leader start -dir=work/localhost-lead-1 -locators=X.X.X.157[10334] -spark.executor.cores=1
./bin/snappy server start -dir=work/localhost-server-1 -locators=X.X.X.157[10334] -bind-address=X.X.X.157 -client-bind-address=X.X.X.157 -J-Dgemfirexd.hostname-for-clients=X.X.X.157 -heap-size=1g发布于 2018-06-18 10:59:11
看起来,这位“领导者”还没有开始正常工作。你能跑:
./sbin/snappy-status-all.sh然后粘贴输出。这将打印所有组件的状态,即定位器、领导者和服务器。没有正确启动的组件日志文件中的错误应该会有所帮助。让我们知道在日志文件中看到了什么错误。
https://stackoverflow.com/questions/50904413
复制相似问题