<?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: Bug in db.fs.utils in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30573#M22188</link>
    <description>&lt;P&gt;Hi, Could you please type in the whole command and enter? (sometimes copying will put the format incorrectly). &lt;/P&gt;&lt;P&gt;Reference: &lt;A href="https://docs.databricks.com/data/data-sources/aws/amazon-s3.html" target="test_blank"&gt;https://docs.databricks.com/data/data-sources/aws/amazon-s3.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 06:30:27 GMT</pubDate>
    <dc:creator>Debayan</dc:creator>
    <dc:date>2022-09-30T06:30:27Z</dc:date>
    <item>
      <title>Bug in db.fs.utils</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30572#M22187</link>
      <description>&lt;P&gt;When using db.fs.utils on a s3 bucket titled "${sometext}.${sometext}.${somenumber}${sometext}-${sometext}-${sometext}" we receive an error. PLEASE understand this is an issue with how it encodes the .${somenumber} because we verified with boto3 that we can query the s3 bucket. There is already a community issue that I believe is due to this, but does not provide this amount of detail. &lt;A href="https://community.databricks.com/s/question/0D58Y00009BMsKGSA1/dbutilsfsls-is-giving-null-uri-host-this-can-be-caused-by-unencoded-in-the-password-string" target="test_blank"&gt;https://community.databricks.com/s/question/0D58Y00009BMsKGSA1/dbutilsfsls-is-giving-null-uri-host-this-can-be-caused-by-unencoded-in-the-password-string&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command (works with other buckets that do not follow this format, but doesn't work on any bucket that follows format above):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dbutils.fs.ls("s3a://${bucket_name_here_follow_above_format}") &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExecutionError: An error occurred while calling z:com.databricks.backend.daemon.dbutils.FSUtils.ls. : java.lang.NullPointerException: null uri host. This can be caused by unencoded / in the password string at java.util.Objects.requireNonNull(Objects.java:228) at&amp;nbsp;&lt;A href="http://shaded.databricks.org/" alt="http://shaded.databricks.org/" target="_blank"&gt;shaded.databricks.org&lt;/A&gt;.apache.hadoop.fs.s3native.S3xLoginHelper.buildFSURI(S3xLoginHelper.java:69) at&amp;nbsp;&lt;A href="http://shaded.databricks.org/" alt="http://shaded.databricks.org/" target="_blank"&gt;shaded.databricks.org&lt;/A&gt;.apache.hadoop.fs.s3a.S3AFileSystem.setUri(S3AFileSystem.java:792) at&amp;nbsp;&lt;A href="http://shaded.databricks.org/" alt="http://shaded.databricks.org/" target="_blank"&gt;shaded.databricks.org&lt;/A&gt;.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:406) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3469)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 19:42:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30572#M22187</guid>
      <dc:creator>740209</dc:creator>
      <dc:date>2022-09-27T19:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in db.fs.utils</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30575#M22190</link>
      <description>&lt;P&gt;@Debayan Mukherjee​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the information is there please read accurately. I am not going to give you the actual bucket name I am using on a public forum. As i said above here is the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d&lt;A href="https://dbutils.fs.ls/" alt="https://dbutils.fs.ls/" target="_blank"&gt;butils.fs.ls&lt;/A&gt;("s3a://${bucket_name_here_follow_above_format}")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where format is "${sometext}.${sometext}.${somenumber}${sometext}-${sometext}-${sometext}"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so an example command is: dbutils.fs.ls("s3a://testtext.testtext.4303testtext-testtext-testtext").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had to use an S3 access point name because the actual name of bucket did not work and has the above Traceback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 16:43:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30575#M22190</guid>
      <dc:creator>740209</dc:creator>
      <dc:date>2022-10-03T16:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in db.fs.utils</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30577#M22192</link>
      <description>&lt;P&gt;We can't submit a support case apparently because this requires a support contract. Our databricks contact told us to submit a community request.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 14:00:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30577#M22192</guid>
      <dc:creator>740209</dc:creator>
      <dc:date>2022-10-18T14:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in db.fs.utils</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30573#M22188</link>
      <description>&lt;P&gt;Hi, Could you please type in the whole command and enter? (sometimes copying will put the format incorrectly). &lt;/P&gt;&lt;P&gt;Reference: &lt;A href="https://docs.databricks.com/data/data-sources/aws/amazon-s3.html" target="test_blank"&gt;https://docs.databricks.com/data/data-sources/aws/amazon-s3.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 06:30:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30573#M22188</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-09-30T06:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in db.fs.utils</title>
      <link>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30576#M22191</link>
      <description>&lt;P&gt;Hi @arturo.iacobelli arturo.iacobelli​&amp;nbsp;, Thanks for the information. We appreciate your patience in this regard! I would request you to file a support case in Databricks portal with all the details so that we can look into the issue thoroughly and triage the same. &lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 06:51:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bug-in-db-fs-utils/m-p/30576#M22191</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-10-06T06:51:06Z</dc:date>
    </item>
  </channel>
</rss>

