<?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: Databricks JDBC Error: Job Aborted Due to Stage Failure (Executor OOM - Error Code 52) in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/databricks-jdbc-error-job-aborted-due-to-stage-failure-executor/m-p/115920#M2026</link>
    <description>&lt;P&gt;The executor does not seem to have enough memory to process the assigned tasks, OOM error.&lt;/P&gt;</description>
    <pubDate>Sat, 19 Apr 2025 21:29:01 GMT</pubDate>
    <dc:creator>Alberto_Umana</dc:creator>
    <dc:date>2025-04-19T21:29:01Z</dc:date>
    <item>
      <title>Databricks JDBC Error: Job Aborted Due to Stage Failure (Executor OOM - Error Code 52)</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/databricks-jdbc-error-job-aborted-due-to-stage-failure-executor/m-p/115818#M2024</link>
      <description>&lt;P&gt;java.sql.SQLException: [Databricks][JDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: null, Query: SELECT `ma***, Error message from Server: org.apache.hive.service.cli.HiveSQLException: Error running query: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 54.0 failed 4 times, most recent failure: Lost task 0.3 in stage 54.0 (TID 558) (10.21.119.52 executor 31): ExecutorLostFailure (executor 31 exited caused by one of the running tasks) Reason: Command exited with code 52, oom&lt;/P&gt;&lt;P&gt;Driver stacktrace:&lt;/P&gt;&lt;P&gt;at org.apache.spark.sql.hive.thriftserver.HiveThriftServerErrors$.runningQueryError(HiveThriftServerErrors.scala:49)&lt;/P&gt;&lt;P&gt;at org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation.$anonfun$execute$1(SparkExecuteStatementOperation.scala:929)&lt;/P&gt;&lt;P&gt;at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)&lt;/P&gt;&lt;P&gt;at com.databricks.unity.UCSEphemeralState$Handle.runWith(UCSEphemeralState.scala:51)&lt;/P&gt;&lt;P&gt;at com.databricks.unity.HandleImpl.runWith(UCSHandle.scala:104)&lt;/P&gt;&lt;P&gt;at org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation.org$apache$spark$sql$hive$thriftserver$SparkExecuteStatementOperation$$execute(SparkExecuteStatementOperation.scala:727)&lt;/P&gt;&lt;P&gt;at org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation$$anon$2$$anon$3.$anonfun$run$5(SparkExecuteStatementOperation.scala:544)&lt;/P&gt;&lt;P&gt;at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)&lt;/P&gt;&lt;P&gt;at org.apache.spark.sql.execution.SQLExecution$.withRootExecution(SQLExecution.scala:671)&lt;/P&gt;&lt;P&gt;at org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation$$anon$2$$anon$3.$anonfun$run$2(SparkExecuteStatementOperation.scala:544)&lt;/P&gt;&lt;P&gt;at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)&lt;/P&gt;&lt;P&gt;at com.databricks.logging.AttributionContextTracing.$anonfun$withAttributionContext$1(AttributionContextTracing.scala:49)&lt;/P&gt;&lt;P&gt;at com.databricks.logging.AttributionContext$.$anonfun$withValue$1(AttributionContext.scala:293)&lt;/P&gt;&lt;P&gt;at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;Caused by: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 54.0 failed 4 times, most recent failure: Lost task 0.3 in stage 54.0 (TID 558) (10.21.119.52 executor 31): ExecutorLostFailure (executor 31 exited caused by one of the running tasks) Reason: Command exited with code 52, oom&lt;/P&gt;&lt;P&gt;Driver stacktrace:&lt;/P&gt;&lt;P&gt;at org.apache.spark.scheduler.DAGScheduler.$anonfun$failJobAndIndependentStages$1(DAGScheduler.scala:4362)&lt;/P&gt;&lt;P&gt;at scala.Option.getOrElse(Option.scala:189)&lt;/P&gt;&lt;P&gt;at org.apache.spark.scheduler.DAGScheduler.failJobAndIndependentStages(DAGScheduler.scala:4360)&lt;/P&gt;&lt;P&gt;at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2(DAGScheduler.scala:4274)&lt;/P&gt;&lt;P&gt;at org.apache.spark.scheduler.DAGScheduler.$anonfun$abortStage$2$adapted(DAGScheduler.scala:4261)&lt;/P&gt;&lt;P&gt;at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)&lt;/P&gt;&lt;P&gt;at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)&lt;/P&gt;&lt;P&gt;at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)&lt;/P&gt;&lt;P&gt;at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:4261)&lt;/P&gt;&lt;P&gt;at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1(DAGScheduler.scala:1842)&lt;/P&gt;&lt;P&gt;at org.apache.spark.scheduler.DAGScheduler.$anonfun$handleTaskSetFailed$1$adapted(DAGScheduler.scala:1825)&lt;/P&gt;&lt;P&gt;at scala.Option.foreach(Option.scala:407)&lt;/P&gt;&lt;P&gt;at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:1825)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#Databricks&lt;/P&gt;&lt;P&gt;#JDBC&lt;/P&gt;&lt;P&gt;#SparkSQL&lt;/P&gt;&lt;P&gt;#OOM&lt;/P&gt;&lt;P&gt;#HiveThriftServer&lt;/P&gt;&lt;P&gt;#Error500051&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 00:54:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/databricks-jdbc-error-job-aborted-due-to-stage-failure-executor/m-p/115818#M2024</guid>
      <dc:creator>AP01</dc:creator>
      <dc:date>2025-04-18T00:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks JDBC Error: Job Aborted Due to Stage Failure (Executor OOM - Error Code 52)</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/databricks-jdbc-error-job-aborted-due-to-stage-failure-executor/m-p/115920#M2026</link>
      <description>&lt;P&gt;The executor does not seem to have enough memory to process the assigned tasks, OOM error.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Apr 2025 21:29:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/databricks-jdbc-error-job-aborted-due-to-stage-failure-executor/m-p/115920#M2026</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-04-19T21:29:01Z</dc:date>
    </item>
  </channel>
</rss>

