<?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: dbutls.fs.cp() fails in Runtime 16.3 Beta, when using abfss:// in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/dbutls-fs-cp-fails-in-runtime-16-3-beta-when-using-abfss/m-p/114259#M44763</link>
    <description>&lt;P&gt;To close off my loop: The&amp;nbsp;&lt;SPAN&gt;ClassCastException&lt;/SPAN&gt; has been resolved in 16.3&lt;/P&gt;</description>
    <pubDate>Wed, 02 Apr 2025 08:38:27 GMT</pubDate>
    <dc:creator>kleanthis</dc:creator>
    <dc:date>2025-04-02T08:38:27Z</dc:date>
    <item>
      <title>dbutls.fs.cp() fails in Runtime 16.3 Beta, when using abfss://</title>
      <link>https://community.databricks.com/t5/data-engineering/dbutls-fs-cp-fails-in-runtime-16-3-beta-when-using-abfss/m-p/113661#M44601</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am not sure if this is the right place to post this, however, I reporting what seems to me, a breaking issue with 16.3 Beta Runtime, when performing dbutils.fs.cp() operations between abfss://&lt;/P&gt;&lt;P&gt;This is not a permissions issue — let's get that out of the way. It's something that has been working for years, and switching to the 16.2 Runtime works — everything equal.&lt;/P&gt;&lt;P&gt;Let's assume:&lt;/P&gt;&lt;P&gt;SOURCE_URI = 'abfss://...'&lt;/P&gt;&lt;P&gt;DESTINATION_URI = 'abfss://...'&lt;/P&gt;&lt;P&gt;dbutils.fs.cp(SOURCE_URI, DESTINATION_URI, True)&lt;/P&gt;&lt;P&gt;Throws exception:&lt;BR /&gt;ExecutionError: An error occurred while calling o595.cp.&lt;BR /&gt;: java.lang.ClassCastException: class com.databricks.common.filesystem.LokiAbfsInputStream cannot be cast to class shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsInputStream (com.databricks.common.filesystem.LokiAbfsInputStream and shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsInputStream are in unnamed module of loader 'app')&lt;BR /&gt;at com.databricks.common.filesystem.LokiABFS.setModTimeSettings(LokiABFS.scala:83)&lt;BR /&gt;at com.databricks.common.filesystem.LokiABFS.openFileWithOptions(LokiABFS.scala:65)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem$FSDataInputStreamBuilder.build(FileSystem.java:4913)&lt;BR /&gt;at com.databricks.common.filesystem.LokiFileSystem.openFileWithOptions(LokiFileSystem.scala:316)&lt;BR /&gt;at org.apache.hadoop.fs.FileSystem$FSDataInputStreamBuilder.build(FileSystem.java:4913)&lt;BR /&gt;at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:488)&lt;BR /&gt;at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:430)&lt;BR /&gt;at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:368)&lt;BR /&gt;at com.databricks.backend.daemon.dbutils.FSUtils.cpRecursive(DBUtilsCore.scala:659)&lt;BR /&gt;at com.databricks.backend.daemon.dbutils.FSUtils.$anonfun$cpRecursive$1(DBUtilsCore.scala:637)&lt;BR /&gt;at com.databricks.backend.daemon.dbutils.FSUtils.$anonfun$cpRecursive$1$adapted(DBUtilsCore.scala:636)&lt;BR /&gt;at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)&lt;BR /&gt;at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)&lt;BR /&gt;at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Seems to be related to this new 'app' concept, maybe.&lt;/P&gt;&lt;P&gt;Is this a known breaking change that we need to be aware of? Surely, I hope not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 09:17:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dbutls-fs-cp-fails-in-runtime-16-3-beta-when-using-abfss/m-p/113661#M44601</guid>
      <dc:creator>kleanthis</dc:creator>
      <dc:date>2025-03-26T09:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: dbutls.fs.cp() fails in Runtime 16.3 Beta, when using abfss://</title>
      <link>https://community.databricks.com/t5/data-engineering/dbutls-fs-cp-fails-in-runtime-16-3-beta-when-using-abfss/m-p/114259#M44763</link>
      <description>&lt;P&gt;To close off my loop: The&amp;nbsp;&lt;SPAN&gt;ClassCastException&lt;/SPAN&gt; has been resolved in 16.3&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 08:38:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dbutls-fs-cp-fails-in-runtime-16-3-beta-when-using-abfss/m-p/114259#M44763</guid>
      <dc:creator>kleanthis</dc:creator>
      <dc:date>2025-04-02T08:38:27Z</dc:date>
    </item>
  </channel>
</rss>

