首页 > 解决方案 > Starting Snappydata by using inline arguments

问题描述

On starting snappydata using the command line arguments I am getting the below error

ERROR 38000: (SQLState=38000 Severity=20000) (Server=/X.X.X.157[1528] Thread=ThriftProcessor-0) The exception 'com.gemstone.gemfire.cache.TimeoutException: The SnappyData catalog in hive meta-store is not accessible' was thrown while evaluating an expression.

Below are the scripts I have used to start the cluster.

./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

标签: snappydata

解决方案


看起来“领导者”没有正确启动。你能跑吗:

./sbin/snappy-status-all.sh

并粘贴输出。这将打印所有组件的状态,即定位器、领导者和服务器。未正确启动的组件的日志文件中的错误应该会有所帮助。让我们知道在日志文件中看到了什么错误。


推荐阅读