<?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 IllegalArgumentException: requirement failed: Invalid uri in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/illegalargumentexception-requirement-failed-invalid-uri/m-p/37647#M26415</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm trying to connect to MongoDB using the Databricks notebook. I keep getting the error that my MongoDB uri is invalid. The uri works when connecting from my local machine using the Rust driver. I pretty much followed the tutorial that was given for MongoDB and Databricks.&lt;BR /&gt;&lt;BR /&gt;Here are the things I've done/tried:&amp;nbsp;&lt;BR /&gt;- Made sure my scala and spark version matches up on the cluster with the Mongo-spark library.&amp;nbsp;&lt;BR /&gt;- Made sure to whitelist the ip of the cluster nodes.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2023 21:16:57 GMT</pubDate>
    <dc:creator>TonyLe</dc:creator>
    <dc:date>2023-07-14T21:16:57Z</dc:date>
    <item>
      <title>IllegalArgumentException: requirement failed: Invalid uri</title>
      <link>https://community.databricks.com/t5/data-engineering/illegalargumentexception-requirement-failed-invalid-uri/m-p/37647#M26415</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm trying to connect to MongoDB using the Databricks notebook. I keep getting the error that my MongoDB uri is invalid. The uri works when connecting from my local machine using the Rust driver. I pretty much followed the tutorial that was given for MongoDB and Databricks.&lt;BR /&gt;&lt;BR /&gt;Here are the things I've done/tried:&amp;nbsp;&lt;BR /&gt;- Made sure my scala and spark version matches up on the cluster with the Mongo-spark library.&amp;nbsp;&lt;BR /&gt;- Made sure to whitelist the ip of the cluster nodes.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 21:16:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/illegalargumentexception-requirement-failed-invalid-uri/m-p/37647#M26415</guid>
      <dc:creator>TonyLe</dc:creator>
      <dc:date>2023-07-14T21:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: IllegalArgumentException: requirement failed: Invalid uri</title>
      <link>https://community.databricks.com/t5/data-engineering/illegalargumentexception-requirement-failed-invalid-uri/m-p/37769#M26448</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/84809"&gt;@TonyLe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Make sure mongoDB library should be installed and please refer below blog for your reference -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/external-data/mongodb.html" target="_blank"&gt;MongoDB | Databricks on AWS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 12:03:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/illegalargumentexception-requirement-failed-invalid-uri/m-p/37769#M26448</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2023-07-17T12:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: IllegalArgumentException: requirement failed: Invalid uri</title>
      <link>https://community.databricks.com/t5/data-engineering/illegalargumentexception-requirement-failed-invalid-uri/m-p/37770#M26449</link>
      <description>&lt;P&gt;Also take in mind firewall issues in case the mongodb is on-prem or on some other location.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 12:08:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/illegalargumentexception-requirement-failed-invalid-uri/m-p/37770#M26449</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-07-17T12:08:57Z</dc:date>
    </item>
  </channel>
</rss>

