snappydata - 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
解决方案
看起来“领导者”没有正确启动。你能跑吗:
./sbin/snappy-status-all.sh
并粘贴输出。这将打印所有组件的状态,即定位器、领导者和服务器。未正确启动的组件的日志文件中的错误应该会有所帮助。让我们知道在日志文件中看到了什么错误。
推荐阅读
- node.js - 使用 fs 创建文件然后提交会导致 SVN 错误“文件意外结束”
- angular - 可观察到的垫表变化
- slick - 在 lagom 项目中使用 Slick、Postgres 导致 PSQLException 中的多个键索引导致
- tensorflow - 关于卷积神经网络
- jquery - 带有存储过程的 jQuery 数据表
- c# - 在 UWP 中再次调用 OnLoaded 事件
- qt - QML 2 / KDE - 注册快捷方式的控件是什么
- stm32 - stm32项目到IAR
- oop - 以多种方式定义事物的正确面向对象方式是什么?
- google-cloud-platform - 如何在 gcp terraform 脚本中提供图像名称?