{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/docs-cn/issues/597","repository_url":"https://api.github.com/repos/pingcap/docs-cn","labels_url":"https://api.github.com/repos/pingcap/docs-cn/issues/597/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/docs-cn/issues/597/comments","events_url":"https://api.github.com/repos/pingcap/docs-cn/issues/597/events","html_url":"https://github.com/pingcap/docs-cn/issues/597","id":301669758,"number":597,"title":"TIKV启动异常","user":{"login":"dbaspace","id":23513271,"avatar_url":"https://avatars3.githubusercontent.com/u/23513271?v=4","gravatar_id":"","url":"https://api.github.com/users/dbaspace","html_url":"https://github.com/dbaspace","followers_url":"https://api.github.com/users/dbaspace/followers","following_url":"https://api.github.com/users/dbaspace/following{/other_user}","gists_url":"https://api.github.com/users/dbaspace/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaspace/subscriptions","organizations_url":"https://api.github.com/users/dbaspace/orgs","repos_url":"https://api.github.com/users/dbaspace/repos","events_url":"https://api.github.com/users/dbaspace/events{/privacy}","received_events_url":"https://api.github.com/users/dbaspace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-02T06:48:28Z","updated_at":"2018-03-02T11:27:16Z","closed_at":null,"author_association":"NONE","body":"[root@glusterfs10 tikv]# 2018/03/02 14:45:58.132 mod.rs:344: [INFO] Welcome to TiKV.\r\n2018/03/02 14:45:58.133 mod.rs:345: [INFO] Release Version:   1.1.0-dev\r\n2018/03/02 14:45:58.133 mod.rs:346: [INFO] Git Commit Hash:   7e9218fd5d2d74d4e718e10fe11d47871c48933a\r\n2018/03/02 14:45:58.133 mod.rs:347: [INFO] Git Commit Branch: master\r\n2018/03/02 14:45:58.133 mod.rs:348: [INFO] UTC Build Time:    2018-02-08 09:36:42\r\n2018/03/02 14:45:58.133 mod.rs:349: [INFO] Rustc Version:     1.25.0-nightly (73ac5d6a8 2018-01-11)\r\n2018/03/02 14:45:58.133 config.rs:723: [WARN] deprecated configuration, raftstore.region-max-size has been moved to coprocessor\r\n2018/03/02 14:45:58.133 config.rs:728: [WARN] override coprocessor.region-max-size with raftstore.region-max-size, ReadableSize(83886080)\r\n2018/03/02 14:45:58.133 config.rs:737: [WARN] deprecated configuration, raftstore.region-split-size has been moved to coprocessor\r\n2018/03/02 14:45:58.134 config.rs:742: [WARN] override coprocessor.region-split-size with raftstore.region-split-size, ReadableSize(67108864)\r\n2018/03/02 14:45:58.134 config.rs:110: [INFO] no advertise-addr is specified, fall back to addr.\r\n2018/03/02 14:45:58.134 tikv-server.rs:503: [ERROR] invalid configuration: StringError(\"please specify pd.endpoints.\")\r\n\r\n\r\n\r\n多种改：pd =\"192.168.21.190:2379,192.168.21.189:2379,192.168.21.187:2379\"\r\npd-endpoints =\"192.168.21.190:2379,192.168.21.189:2379,192.168.21.187:2379\"\r\nendpoints =\"192.168.21.190:2379,192.168.21.189:2379,192.168.21.187:2379\"\r\n提示这个错误：\r\n2018/03/02 14:45:58.134 tikv-server.rs:503: [ERROR] invalid configuration: StringError(\"please specify pd.endpoints.\")"},"comment":{"url":"https://api.github.com/repos/pingcap/docs-cn/issues/comments/369896913","html_url":"https://github.com/pingcap/docs-cn/issues/597#issuecomment-369896913","issue_url":"https://api.github.com/repos/pingcap/docs-cn/issues/597","id":369896913,"user":{"login":"datahoecn","id":32172006,"avatar_url":"https://avatars3.githubusercontent.com/u/32172006?v=4","gravatar_id":"","url":"https://api.github.com/users/datahoecn","html_url":"https://github.com/datahoecn","followers_url":"https://api.github.com/users/datahoecn/followers","following_url":"https://api.github.com/users/datahoecn/following{/other_user}","gists_url":"https://api.github.com/users/datahoecn/gists{/gist_id}","starred_url":"https://api.github.com/users/datahoecn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datahoecn/subscriptions","organizations_url":"https://api.github.com/users/datahoecn/orgs","repos_url":"https://api.github.com/users/datahoecn/repos","events_url":"https://api.github.com/users/datahoecn/events{/privacy}","received_events_url":"https://api.github.com/users/datahoecn/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T11:27:16Z","updated_at":"2018-03-02T11:27:16Z","author_association":"CONTRIBUTOR","body":"@dbaspace  tikv 启动配置文件调用和命令调用效果一样，另外 tikv 配置文件 pd endpoint 格式需要增加中括考，如下：endpoints = [\"http://192.168.56.12:2379\"] ，压缩参数同样方式设置，遇到类似问题可尝试先分析，代码都是开源的，可以根据报错内容反查下源码，而且整个项目都有详细的参数配置示例，tikv 配置文件可参考：https://github.com/pingcap/tikv/blob/master/tests/config/test-custom.toml；关于数据同步， syncer 同步目前线上大量客户在用，现阶段比较稳定，需要根据具体问题进行分析，sync 参数或者 集群参数配置都有可能影响"}}
{"actor":{"display_login":"datahoecn"}}