just2d
just2d
thanks for the reply I can connect Mongodb from ES host. I don't think to change 30s longer would help. they are in one intranet. LAN [root@SHUB-BG-1-14 bin]# ./mongo 10.19.1.149:37017/admin...
**finally I got sth. new from the mongo driver 2.12.3 debug info** mongo-java-dirver-2.12.3.jar mongodb version:2.4.6 I found these:### no primary was chosen. ### ### here are the infos in debugging...
I create a question on SO. http://stackoverflow.com/questions/25135301/mongodb-cant-find-primary-cause-of-replicaset-member-name
case close. I thought mongodb should be more intelligent to transfer hostname to host IP,or just remember the ip of those secondaries',but I was wrong. just add host to /etc/hosts...