You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following output from ES when trying to add a mongodb river to an elasticsearch machine, Could someone tell me what's wrong. My ES version is 1.4.2, river version is 2.0.9, mongodb version is 3.0.4.
[2015-11-24 17:30:30,576][INFO ][cluster.metadata ] [Vibraxas] [_river] creating index, cause [auto(index api)], shards [1]/[1], mappings [datatype_river]
[2015-11-24 17:30:30,670][INFO ][cluster.metadata ] [Vibraxas] [_river] update_mapping datatype_river
[2015-11-24 17:30:30,675][TRACE][org.elasticsearch.river.mongodb.MongoDBRiver] Initializing river : [datatype_river]
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] Parse river settings for datatype_river
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] mongoServersSettings: [{port=30000, host=10.105.50.73}, {port=30000, host=10.148.68.159}]
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] Server: 10.105.50.73 - 30000
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] Server: 10.148.68.159 - 30000
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] mongoOptionsSettings: {secondary_read_preference=true}
[2015-11-24 17:30:30,678][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] MongoDB River Plugin - version[2.0.9] - hash[73ddea5] - time[2015-04-06T21:16:46Z]
[2015-11-24 17:30:30,678][INFO ][river.mongodb.util ] setRiverStatus called with datatype_river - RUNNING
[2015-11-24 17:30:30,686][INFO ][cluster.metadata ] [Vibraxas] [_river] update_mapping datatype_river
[2015-11-24 17:30:30,688][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] River datatype_river startup pending
[2015-11-24 17:30:30,689][TRACE][org.elasticsearch.river.mongodb.StatusChecker] About to start river: datatype_river
[2015-11-24 17:30:30,689][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] Starting river datatype_river
[2015-11-24 17:30:30,690][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] MongoDB options: secondaryreadpreference [true], drop_collection [false], include_collection [], throttlesize [5000], gridfs [false], filter [null], db [pomdev], collection [datatype], script [null], indexing to [pomdev]/[datatype]
[2015-11-24 17:30:30,690][DEBUG][org.elasticsearch.river.mongodb.MongoDBRiver] Using MongoDB server(s): host [10.105.50.73], port [30000]
[2015-11-24 17:30:30,690][DEBUG][org.elasticsearch.river.mongodb.MongoDBRiver] Using MongoDB server(s): host [10.148.68.159], port [30000]
[2015-11-24 17:30:30,713][INFO ][cluster.metadata ] [Vibraxas] [pomdev] creating index, cause [api], shards [5]/[1], mappings []
[2015-11-24 17:30:30,826][TRACE][org.elasticsearch.river.mongodb.MongoConfigProvider] Found admin database
[2015-11-24 17:30:30,827][TRACE][org.elasticsearch.river.mongodb.MongoConfigProvider] About to execute: { "serverStatus" : 1 , "asserts" : 0 , "backgroundFlushing" : 0 , "connections" : 0 , "cursors" : 0 , "dur" : 0 , "extra_info" : 0 , "globalLock" : 0 , "indexCounters" : 0 , "locks" : 0 , "metrics" : 0 , "network" : 0 , "opcounters" : 0 , "opcountersRepl" : 0 , "recordStats" : 0 , "repl" : 0}
[2015-11-24 17:30:30,874][INFO ][cluster.metadata ] [Vibraxas] [_river] update_mapping datatype_river
[2015-11-24 17:30:31,268][WARN ][org.elasticsearch.river.mongodb.MongoDBRiver] Failed to start river datatype_river
com.mongodb.CommandFailureException: { "serverUsed" : "10.105.50.73:30000" , "$err" : "can't use 'local' database through mongos" , "code" : 13644}
at com.mongodb.CommandResult.getException(CommandResult.java:76)
at com.mongodb.CommandResult.throwOnError(CommandResult.java:140)
at com.mongodb.DBPort$SaslAuthenticator.authenticate(DBPort.java:899)
at com.mongodb.DBPort.authenticate(DBPort.java:432)
at com.mongodb.DBPort.checkAuth(DBPort.java:443)
at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:289)
at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269)
at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84)
at com.mongodb.DB.command(DB.java:320)
at com.mongodb.DB.command(DB.java:299)
at com.mongodb.DB.command(DB.java:388)
at org.elasticsearch.river.mongodb.MongoConfigProvider.isMongos(MongoConfigProvider.java:90)
at org.elasticsearch.river.mongodb.MongoConfigProvider.call(MongoConfigProvider.java:42)
at org.elasticsearch.river.mongodb.MongoDBRiver$1.run(MongoDBRiver.java:259)
at java.lang.Thread.run(Thread.java:745)
[2015-11-24 17:30:31,268][INFO ][river.mongodb.util ] setRiverStatus called with datatype_river - START_FAILED
The text was updated successfully, but these errors were encountered:
I get the following output from ES when trying to add a mongodb river to an elasticsearch machine, Could someone tell me what's wrong. My ES version is 1.4.2, river version is 2.0.9, mongodb version is 3.0.4.
[2015-11-24 17:30:30,576][INFO ][cluster.metadata ] [Vibraxas] [_river] creating index, cause [auto(index api)], shards [1]/[1], mappings [datatype_river]
[2015-11-24 17:30:30,670][INFO ][cluster.metadata ] [Vibraxas] [_river] update_mapping datatype_river
[2015-11-24 17:30:30,675][TRACE][org.elasticsearch.river.mongodb.MongoDBRiver] Initializing river : [datatype_river]
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] Parse river settings for datatype_river
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] mongoServersSettings: [{port=30000, host=10.105.50.73}, {port=30000, host=10.148.68.159}]
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] Server: 10.105.50.73 - 30000
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] Server: 10.148.68.159 - 30000
[2015-11-24 17:30:30,676][TRACE][river.mongodb ] mongoOptionsSettings: {secondary_read_preference=true}
[2015-11-24 17:30:30,678][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] MongoDB River Plugin - version[2.0.9] - hash[73ddea5] - time[2015-04-06T21:16:46Z]
[2015-11-24 17:30:30,678][INFO ][river.mongodb.util ] setRiverStatus called with datatype_river - RUNNING
[2015-11-24 17:30:30,686][INFO ][cluster.metadata ] [Vibraxas] [_river] update_mapping datatype_river
[2015-11-24 17:30:30,688][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] River datatype_river startup pending
[2015-11-24 17:30:30,689][TRACE][org.elasticsearch.river.mongodb.StatusChecker] About to start river: datatype_river
[2015-11-24 17:30:30,689][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] Starting river datatype_river
[2015-11-24 17:30:30,690][INFO ][org.elasticsearch.river.mongodb.MongoDBRiver] MongoDB options: secondaryreadpreference [true], drop_collection [false], include_collection [], throttlesize [5000], gridfs [false], filter [null], db [pomdev], collection [datatype], script [null], indexing to [pomdev]/[datatype]
[2015-11-24 17:30:30,690][DEBUG][org.elasticsearch.river.mongodb.MongoDBRiver] Using MongoDB server(s): host [10.105.50.73], port [30000]
[2015-11-24 17:30:30,690][DEBUG][org.elasticsearch.river.mongodb.MongoDBRiver] Using MongoDB server(s): host [10.148.68.159], port [30000]
[2015-11-24 17:30:30,713][INFO ][cluster.metadata ] [Vibraxas] [pomdev] creating index, cause [api], shards [5]/[1], mappings []
[2015-11-24 17:30:30,826][TRACE][org.elasticsearch.river.mongodb.MongoConfigProvider] Found admin database
[2015-11-24 17:30:30,827][TRACE][org.elasticsearch.river.mongodb.MongoConfigProvider] About to execute: { "serverStatus" : 1 , "asserts" : 0 , "backgroundFlushing" : 0 , "connections" : 0 , "cursors" : 0 , "dur" : 0 , "extra_info" : 0 , "globalLock" : 0 , "indexCounters" : 0 , "locks" : 0 , "metrics" : 0 , "network" : 0 , "opcounters" : 0 , "opcountersRepl" : 0 , "recordStats" : 0 , "repl" : 0}
[2015-11-24 17:30:30,874][INFO ][cluster.metadata ] [Vibraxas] [_river] update_mapping datatype_river
[2015-11-24 17:30:31,268][WARN ][org.elasticsearch.river.mongodb.MongoDBRiver] Failed to start river datatype_river
com.mongodb.CommandFailureException: { "serverUsed" : "10.105.50.73:30000" , "$err" : "can't use 'local' database through mongos" , "code" : 13644}
at com.mongodb.CommandResult.getException(CommandResult.java:76)
at com.mongodb.CommandResult.throwOnError(CommandResult.java:140)
at com.mongodb.DBPort$SaslAuthenticator.authenticate(DBPort.java:899)
at com.mongodb.DBPort.authenticate(DBPort.java:432)
at com.mongodb.DBPort.checkAuth(DBPort.java:443)
at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:289)
at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269)
at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84)
at com.mongodb.DB.command(DB.java:320)
at com.mongodb.DB.command(DB.java:299)
at com.mongodb.DB.command(DB.java:388)
at org.elasticsearch.river.mongodb.MongoConfigProvider.isMongos(MongoConfigProvider.java:90)
at org.elasticsearch.river.mongodb.MongoConfigProvider.call(MongoConfigProvider.java:42)
at org.elasticsearch.river.mongodb.MongoDBRiver$1.run(MongoDBRiver.java:259)
at java.lang.Thread.run(Thread.java:745)
[2015-11-24 17:30:31,268][INFO ][river.mongodb.util ] setRiverStatus called with datatype_river - START_FAILED
The text was updated successfully, but these errors were encountered: