apache / apache/incubator-pegasus

单机启动问题

Open
#415 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.1k
Forks
328
PR merge metrics
No merged PRs in 30d

Description

目的: 单机环境搭建
过程: 1、下载 server 二进制包,而后修改 config 文件。启动 meta-server 和 replica-server
2、下载 tool 二进制包,启动 shell
问题: 1、在启动shell后,告诉我meta_list is 127.0.0.1:34601,127.0.0.1:34602,127.0.0.1:34603。
但是我的配置里,apps.meta.count 是1 。应该只有 34601 端口才对。
2、shell 启动后,use table_name。 这个表名字,随便写一个,返回的都是 ok。那我可不可以
理解为,use 会帮忙创建表,即使表不存在。
3、我后来通过在server端指定 meta@1 和 shell 指定 cluster ,只访问 34601端口。 但是依然连不通,所以问下,单机binary包搭建的时候,除了改配置,还需要做什么?
4、ssh 报错。
[root@debugboxcreate21x2 openssl-1.0.2]# ssh
ssh: /data/pegasus-server-1.11.6-9f4e5ae-glibc2.12-release/bin/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by ssh)
![image](https://user-images.githubusercontent.com/24480430/68106560-f076de80-ff1c-11e9-8534-5c98d603994c.png)

![image](https://user-images.githubusercontent.com/24480430/68101980-8ace2680-ff0b-11e9-8de3-322ef03cba65.png)

![image](https://user-images.githubusercontent.com/24480430/68101963-696d3a80-ff0b-11e9-9d7b-f173f5e5e18f.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the single-machine setup using the server and tool binary packages, the config values for apps.meta.count, meta@1, and the shell cluster setting. Check why the shell reports three meta endpoints, whether use accepts a nonexistent table, and why the connection still fails. Also investigate the reported SSH error involving libcrypto.so.10 and OpenSSL 1.0.2; done means each behavior is explained and the required setup is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
databases, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.