<?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 Internal error. Attach your notebook to a different compute or restart the current compute. java.lan in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/53107#M619</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Internal error. Attach your notebook to a different compute or restart the current compute.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;java.lang.RuntimeException: abort: DriverClient destroyed at com.databricks.backend.daemon.driver.DriverClient.$anonfun$poll$3(DriverClient.scala:577) at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307) at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:54) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:77) at com.databricks.threading.DatabricksExecutionContext$InstrumentedRunnable.run(DatabricksExecutionContext.scala:36) at com.databricks.threading.NamedExecutor$$anon$2.$anonfun$run$2(NamedExecutor.scala:366) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at com.databricks.logging.UsageLogging.withAttributionContext(UsageLogging.scala:420) at com.databricks.logging.UsageLogging.withAttributionContext$(UsageLogging.scala:418) at com.databricks.threading.NamedExecutor.withAttributionContext(NamedExecutor.scala:285) at com.databricks.threading.NamedExecutor$$anon$2.$anonfun$run$1(NamedExecutor.scala:364) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at com.databricks.context.integrity.IntegrityCheckContext$ThreadLocalStorage$.withValue(IntegrityCheckContext.scala:44) at com.databricks.threading.NamedExecutor$$anon$2.run(NamedExecutor.scala:356) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Facing this error.spark is getting crashed automatically&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 20 Nov 2023 09:36:04 GMT</pubDate>
    <dc:creator>amandaolens</dc:creator>
    <dc:date>2023-11-20T09:36:04Z</dc:date>
    <item>
      <title>Internal error. Attach your notebook to a different compute or restart the current compute. java.lan</title>
      <link>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/53107#M619</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Internal error. Attach your notebook to a different compute or restart the current compute.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;EM&gt;java.lang.RuntimeException: abort: DriverClient destroyed at com.databricks.backend.daemon.driver.DriverClient.$anonfun$poll$3(DriverClient.scala:577) at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307) at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:54) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:77) at com.databricks.threading.DatabricksExecutionContext$InstrumentedRunnable.run(DatabricksExecutionContext.scala:36) at com.databricks.threading.NamedExecutor$$anon$2.$anonfun$run$2(NamedExecutor.scala:366) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at com.databricks.logging.UsageLogging.withAttributionContext(UsageLogging.scala:420) at com.databricks.logging.UsageLogging.withAttributionContext$(UsageLogging.scala:418) at com.databricks.threading.NamedExecutor.withAttributionContext(NamedExecutor.scala:285) at com.databricks.threading.NamedExecutor$$anon$2.$anonfun$run$1(NamedExecutor.scala:364) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at com.databricks.context.integrity.IntegrityCheckContext$ThreadLocalStorage$.withValue(IntegrityCheckContext.scala:44) at com.databricks.threading.NamedExecutor$$anon$2.run(NamedExecutor.scala:356) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Facing this error.spark is getting crashed automatically&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Nov 2023 09:36:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/53107#M619</guid>
      <dc:creator>amandaolens</dc:creator>
      <dc:date>2023-11-20T09:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Internal error. Attach your notebook to a different compute or restart the current compute. java</title>
      <link>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/53114#M622</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp; but same code was working 5 days ago.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 11:20:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/53114#M622</guid>
      <dc:creator>amandaolens</dc:creator>
      <dc:date>2023-11-20T11:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Internal error. Attach your notebook to a different compute or restart the current compute. java</title>
      <link>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/53121#M624</link>
      <description>&lt;P&gt;nope.i'm still facing the issue.event though the cpu and memory usage is also under 50%.&lt;/P&gt;&lt;P&gt;same piece of code is working on 1 dataset and failing on other.few days back it was working fine for all the datasets&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 12:43:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/53121#M624</guid>
      <dc:creator>amandaolens</dc:creator>
      <dc:date>2023-11-20T12:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Internal error. Attach your notebook to a different compute or restart the current compute. java</title>
      <link>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/53221#M626</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp;yeah, in one dataset there are slightly higher data points.schema are same.when the spark crashed i have checked the memory usage.it was around 50%.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 06:02:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/53221#M626</guid>
      <dc:creator>amandaolens</dc:creator>
      <dc:date>2023-11-21T06:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Internal error. Attach your notebook to a different compute or restart the current compute. java</title>
      <link>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/119302#M3360</link>
      <description>&lt;P&gt;The error is caused due to overlap of connectors or instance, if you see an error as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LokeshManne_1-1747303303000.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16864iE4410489F5FD5EAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LokeshManne_1-1747303303000.png" alt="LokeshManne_1-1747303303000.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And you can see Multiple clusters with same name, which is caused due to running the notebook_1 under a cluster attached to it and re-running a notebook_2 with %run / sub notebook run, which is connect to the same notebook_1 cluster. Which cause below scenario: Same cluster under two resource.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LokeshManne_0-1747303285230.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16863i2B78D363602A7467/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LokeshManne_0-1747303285230.png" alt="LokeshManne_0-1747303285230.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution:&lt;BR /&gt;&lt;/STRONG&gt;Detach the cluster from notebook_1 &amp;amp; notebook_2,&lt;/P&gt;&lt;P&gt;Now refresh the web page and re-attach the cluster to notebook_2, run individual cells one by one not RUN_ALL at a time. Once you've run two to three cells successfully. Now Run All and test, it will work as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LokeshManne_2-1747304069419.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/16865i94CE886AB33099DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LokeshManne_2-1747304069419.png" alt="LokeshManne_2-1747304069419.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 10:16:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/internal-error-attach-your-notebook-to-a-different-compute-or/m-p/119302#M3360</guid>
      <dc:creator>LokeshManne</dc:creator>
      <dc:date>2025-05-15T10:16:57Z</dc:date>
    </item>
  </channel>
</rss>

