nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subhash Parise <subhash.paris...@gmail.com>
Subject getmongo processor exception
Date Mon, 16 Nov 2015 09:56:48 GMT
Hi Team,

I am very new to Apache NiFi and i am trying to create some sample flows
using getmongo, putmongo processors. In my env i am getting fallowing
exception.


2015-11-16 09:54:43,413 ERROR [Timer-Driven Process Thread-1]
o.a.nifi.processors.mongodb.GetMongo
GetMongo[id=e2e489f1-0a6f-4da7-897b-4d6df74a7de7] Failed to execute query
Document{{text=test}} due to com.mongodb.MongoTimeoutException: Timed out
after 30000 ms while waiting for a server that matches
ReadPreferenceServerSelector{readPreference=primary}. Client view of
cluster state is {type=UNKNOWN, servers=[{address=localhost:27017,
type=UNKNOWN, state=CONNECTING,
exception={com.mongodb.MongoSocketReadException: Prematurely reached end of
stream}}]: com.mongodb.MongoTimeoutException: Timed out after 30000 ms
while waiting for a server that matches
ReadPreferenceServerSelector{readPreference=primary}. Client view of
cluster state is {type=UNKNOWN, servers=[{address=localhost:27017,
type=UNKNOWN, state=CONNECTING,
exception={com.mongodb.MongoSocketReadException: Prematurely reached end of
stream}}]

Mime
View raw message