<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reading from MongoDB secondary server in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reading-from-MongoDB-secondary-server/m-p/2229800#M20636</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Can you please clarify in which Talend version/edition you are?&lt;/SPAN&gt; What's MongoDB version are you using?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Mon, 19 Nov 2018 09:43:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-19T09:43:33Z</dc:date>
    <item>
      <title>Reading from MongoDB secondary server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-from-MongoDB-secondary-server/m-p/2229799#M20635</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I am using "&lt;STRONG&gt;replica set address&lt;/STRONG&gt;" to connect to mongoDB using &lt;EM&gt;tMongoDBInput&lt;/EM&gt;. I have given the "&lt;STRONG&gt;Set read preference&lt;/STRONG&gt;" option as "&lt;U&gt;&lt;STRONG&gt;secondary&lt;/STRONG&gt;&lt;/U&gt;" to fetch from MongoDB secondary server. But, I am getting the below exception:&lt;/P&gt; 
&lt;P&gt;" &lt;EM&gt;&lt;STRONG&gt;Exception in component tMongoDBInput_2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;com.mongodb.CommandFailureException: { "serverUsed" : "xxxxxxxxxx.abcd.local:27017" , "ok" : 0.0 , "errmsg" : "not master and slaveOk=false" , "code" : 13435 , "codeName" : "NotMasterNoSlaveOk"}&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.mongodb.CommandResult.getException(CommandResult.java:76)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.mongodb.CommandResult.throwOnError(CommandResult.java:140)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.mongodb.DBCollectionImpl.aggregate(DBCollectionImpl.java:113)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.mongodb.DBCollection.aggregate(DBCollection.java:1814)&lt;/STRONG&gt;&lt;/EM&gt; "&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you please let me know how to fix this issue and suggest any thoughts on this?&lt;/P&gt; 
&lt;P&gt;Server details in&amp;nbsp;above exception is dummy.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 08:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-from-MongoDB-secondary-server/m-p/2229799#M20635</guid>
      <dc:creator>joe86</dc:creator>
      <dc:date>2018-11-07T08:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from MongoDB secondary server</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-from-MongoDB-secondary-server/m-p/2229800#M20636</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Can you please clarify in which Talend version/edition you are?&lt;/SPAN&gt; What's MongoDB version are you using?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 09:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-from-MongoDB-secondary-server/m-p/2229800#M20636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-19T09:43:33Z</dc:date>
    </item>
  </channel>
</rss>

