我一直在尝试运行memsql的单个节点实例,但却陷入困境并且不知道如何继续。我没有在Google上找到太多信息。
这就是我所做的:
从http://download.memsql.com/memsql-ops-4.1.7/memsql-ops-4.1.7.tar.gz
tar xvf memsql-ops-4.1.7.tar.gz
memsql-ops-4.1.7.tar.gz / memsql-ops / memsql-ops start
我在这一步中遇到了这个错误:
Exception in thread Thread-11:
Traceback (most recent call last):
File "/usr/local/updated-openssl/lib/python3.4/threading.py", line 921, in _bootstrap_inner
File "/usr/local/updated-openssl/lib/python3.4/threading.py", line 869, in run
File "/memsql_platform/memsql_platform/agent/daemon/manage.py", line 198, in startup_watcher
File "/memsql_platform/memsql_platform/network/api_client.py", line 32, in call
File "/usr/local/updated-openssl/lib/python3.4/site-packages/simplejson/__init__.py", line 501, in loads
File "/usr/local/updated-openssl/lib/python3.4/site-packages/simplejson/decoder.py", line 370, in decode
File "/usr/local/updated-openssl/lib/python3.4/site-packages/simplejson/decoder.py", line 400, in raw_decode
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
$memsql-ops file-add -t memsql memsqlbin_amd64.tar.gz
第4步仍然不成功,我无法添加二进制文件。我收到了这个错误:
Traceback (most recent call last):
File "/usr/local/updated-openssl/lib/python3.4/site-packages/cx_Freeze/initscripts/Console.py", line 27, in <module>
File "/memsql_platform/bin/memsql-ops", line 18, in <module>
File "/memsql_platform/memsql_platform/agent/cli/client.py", line 197, in parse
File "/memsql_platform/memsql_platform/agent/cli/command_file_add.py", line 27, in run
File "/memsql_platform/memsql_platform/agent/cli/file_add_mixin.py", line 58, in add_file
File "/memsql_platform/memsql_platform/network/api_client.py", line 32, in call
File "/usr/local/updated-openssl/lib/python3.4/site-packages/simplejson/__init__.py", line 501, in loads
File "/usr/local/updated-openssl/lib/python3.4/site-packages/simplejson/decoder.py", line 370, in decode
File "/usr/local/updated-openssl/lib/python3.4/site-packages/simplejson/decoder.py", line 400, in raw_decode
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
检查了日志文件,并没有说明错误。
/ memsql-ops报告引发此错误 - &gt; KeyError:'error_platform'
如何继续?
答案 0 :(得分:0)
很高兴我们昨天能够解决这个问题(http://chat.memsql.com)。对于遇到此问题的任何其他人,您无法通过解压缩新版本并运行它来升级MemSQL Ops。您需要使用memsql-ops agent-upgrade
(http://docs.memsql.com/latest/ops/cli/AGENT-UPGRADE/)命令升级MemSQL Ops。您可以通过memsql-ops file-add -t memsql_ops /path/to/tar.gz
使用下载的tar.gz,然后运行memsql-ops agent-upgrade
。