> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
On Tue, Jan 10, 2012 at 10:22 PM, Martinus Martinus
http://en.wikipedia.org/wiki/Ephemeral_port
On Wed, Jan 11, 2012 at 6:23 PM, Martinus Martinus
How have you configured the plugin? Also, what version are you using?
On Wed, Jan 11, 2012 at 8:02 PM, Martinus Martinus
The getCollection helper will create a singleton Mongo instance so it
shouldn't be creating multiple instances:
https://github.com/mongodb/mongo-hadoop/blob/master/core/src/main/java/com/mongodb/hadoop/util/MongoConfigUtil.java#L257
On Wed, Jan 11, 2012 at 10:22 PM, Martinus Martinus
See if that changes the connection behavior.
It also seems like you have provided incomplete code since the call
below is different than the method signature of get_data in the
pastie..
On Wed, Jan 11, 2012 at 11:06 PM, Martinus Martinus
Can you get lsof output from each hadoop box when the connection is high?
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/DYEumknXbhQJ.
Hi Brendan,
So how to make my above while loop code to keep using the same port number and didn't generate the new one? Because my code purpose is actually to keep querying data if there is a new document coming into the collections and calculate the data and put back into the collection again.
Thanks.
On Fri, Jan 13, 2012 at 12:00 PM, Martinus Martinus <marti...@gmail.com> wrote:
Hi Nat,
This is from my mongod log :
Fri Jan 13 03:56:31 [conn3181] info DFM::findAll(): extent 0:12000 was empty, skipping ahead. ns:test2.output2
Fri Jan 13 03:56:31 [conn3181] info DFM::findAll(): extent 0:12000 was empty, skipping ahead. ns:test2.output2
Fri Jan 13 03:56:32 [initandlisten] connection accepted from 172.16.4.147:60498 #3570
Fri Jan 13 03:56:32 [initandlisten] connection accepted from 172.16.4.147:60499 #3571
Fri Jan 13 03:56:33 [initandlisten] connection accepted from 172.16.4.147:o60500 #3572
How many child processes do you have? If it's not too much of a problem, increasing the total available connections of mongod is a good workaround for the moment.
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/MJnX7BZZs_IJ.
Sorry.... it should be "lsof -i"
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/V_HALhFnYlkJ.