You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2018/09/21 06:47:43 UTC

[GitHub] freedomme opened a new issue #236: 虚拟机中部署FE节点问题

freedomme opened a new issue #236: 虚拟机中部署FE节点问题
URL: https://github.com/apache/incubator-doris/issues/236
 
 
   在虚拟机中部署FE节点时,会有如下问题。
   一、如果没有修改conf中的 priority_networks ,则可以正常启动FE节点。但是FE会绑定虚拟机中virbr0卡的IP 192.168.122.1 ,见  SHOW PROC '/frontends';
   
   MySQL [(none)]> SHOW PROC '/frontends';
   +---------------+------+----------+----------+-----------+------+
   | Host          | Port | Role     | IsMaster | ClusterId | Join |
   +---------------+------+----------+----------+-----------+------+
   | 192.168.122.1 | 9010 | FOLLOWER | true     | 820443017 | true |
   +---------------+------+----------+----------+-----------+------+
   1 row in set (0.03 sec)
   
   这样会导致BE节点无法识别FE,启动BE时,会有以下通信异常
   
   W0921 13:56:17.308812  2369 utils.cpp:183] **master client, get client from cache failed.host: 192.168.122.1, port: 9020, code: 7**
   
   二、如果修改FE conf中的 priority_networks 。日志如下:
   2018-09-21 14:11:23,131 INFO 1 [PaloFe.main():66] Palo FE start
   2018-09-21 14:11:23,136 INFO 1 [FrontendOptions.analyzePriorityCidrs():101] configured prior_cidrs value: 10.2.11.0/24;
   2018-09-21 14:11:23,147 INFO 1 [FrontendOptions.init():85] local address: /10.2.11.106.
   2018-09-21 14:11:23,325 INFO 1 [ConsistencyChecker.initWorkTime():106] consistency checker will work from 23:00 to 4:00
   2018-09-21 14:11:23,452 INFO 1 [Catalog.loadImage():1010] start load image from /home/palo/fe/palo-meta/image/image.20083. is ckpt: false
   2018-09-21 14:11:23,484 INFO 1 [Catalog.loadBrokers():5244] finished replay brokerMgr from image
   2018-09-21 14:11:23,484 INFO 1 [Catalog.loadImage():1043] finished load image in 31 ms
   但是无法正常登录FE,具体加下:
   [palo@localhost log]$ mysql -h 127.0.0.1 -P9030 -uroot
   ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
   [palo@localhost log]$
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org