Hi
I am trying to do manual start of yugabyte master using a conf flle. getting error as
E0117 18:50:11.352945 306437 async_initializer.cc:95] Failed to initialize client: Timed out (yb/rpc/rpc.cc:220): Could not locate the leader master: GetLeaderMasterRpc(addrs: [:7100, :7100, :7100], num_attempts: 53) passed its deadline 707714.021s (passed: 1.544s): Not found (yb/master/master_rpc.cc:286): no leader found: GetLeaderMasterRpc(addrs: [:7100, :7100, :7100], num_attempts: 1
–master_addresses=ip1:7100,ip2:7100,ip3:7100
–rpc_bind_addresses=ip1:7100
–enable_ysql
–fs_data_dirs=/data1/ybmdata1
–fs_wal_dirs=/data2/mstrwaldir
–log_dir=/applog/ybmlog
–replication_factor=3
–webserver_interface=ip1
–webserver_port=7020
–metric_node_name=yb-master-1
–placement_cloud=region
–placement_region=region
–placement_zone=region1
–enable_automatic_tablet_splitting=true
–ysql_num_shards_per_tserver=1
i am using
./bin/yb-master --flagfile conf/tmaster.conf >& /applog/yb-master-2.out &
to start tmaster server.
However when i am starting yb-master manually like
/bin/yb-master
–master_addresses=ip1:7100,ip2:7100,ip3:7100
–rpc_bind_addresses=ip1
–enable_ysql
–fs_data_dirs=/data1/ybmdata1
–fs_wal_dirs=/data2/mstrwaldir
–log_dir=/applog/ybmlog
–replication_factor=3
–webserver_interface=ip1
–webserver_port=7020
–metric_node_name=yb-master-1
–placement_cloud=region
–placement_region=region
–placement_zone=region1
–enable_automatic_tablet_splitting=true
–ysql_num_shards_per_tserver=1 > log.out &
It starting fine.
It would be great help if you could let me know what i am doing wrong when trying to start using a conf file.