Thank you !
I will have a try~~~


??????
????????????????????????????????
??????????
????????????1036????????????S05??????2?? 
??????250101
??????15650019799
 
???????? Andries Engelbrecht
?????????? 2015-03-27 23:39
???????? [email protected]
?????? Re: About the right mongodb version
I went back to my notes.
 
With Drill 0.7 I used MongoDB 2.6.1, the default jars that came with Drill 0.7 
(mongo-java-driver-2.12.2.jar & drill-mongo-storage-0.7.0-SNAPSHOT.jar)
 
I connected to the mongo router(s) (mongos process), if you have multiple 
routers you will be able to connect to all of them.
I started mongos on port 27020.
 
In Drill then configure the Mongo storage plugin through the WebUI
{
??type??:??mongo??,
??connection??:??mongodb://<mongos-hostname1>:27020,<mongos-hostname2>:27020??,
??enabled??:??true??
}
 
It is also good to make sure that the nodes in mongo and drill all can resolve 
the hosts names (DNS or hosts file entries).
 
I have not looked an newer mongo releases, but give it a try.
 
??Andries
 
 
On Mar 27, 2015, at 6:19 AM, [email protected] wrote:
 
> 
> Hello,
>   I am trying to experiment with Drill 0.7.
>    I want to use mongodb as data source,but it doesn't work.Maybe i think
> mongodb version is not correct.Could you tell me the right mondodb version
> and mongo-java-driver version.I used mongodb 2.6.4,mongo-java-driver 2.12.2.
>    Thanks.
> 
> 
> ??????
> ????????????????????????????????
> ??????????
> ????????????1036????????????S05??????2?? 
> ??????250101
> ??????15650019799
 

Reply via email to