<?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: Has anyone else seen state files disappear in low-volume delta tables? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/has-anyone-else-seen-state-files-disappear-in-low-volume-delta/m-p/3662#M634</link>
    <description>&lt;P&gt;Hi @Jordan Yaker​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We haven't heard from you since the last response from @Kaniz Fatma​&amp;nbsp;, and I was checking back to see if her suggestions helped you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else, If you have any solution, please share it with the community, as it can be helpful to others.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 02:32:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-06-10T02:32:05Z</dc:date>
    <item>
      <title>Has anyone else seen state files disappear in low-volume delta tables?</title>
      <link>https://community.databricks.com/t5/data-engineering/has-anyone-else-seen-state-files-disappear-in-low-volume-delta/m-p/3657#M629</link>
      <description>&lt;P&gt;I have some Delta tables in our dev environment that started popping up with the following error today:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;py4j.protocol.Py4JJavaError: An error occurred while calling o670.execute.
: org.apache.spark.SparkException: Job aborted due to stage failure: Task 104 in stage 1145.0 failed 4 times, most recent failure: Lost task 104.3 in stage 1145.0 (TID 2949) (10.111.21.215 executor 1): java.lang.IllegalStateException: Error reading streaming state file of HDFSStateStoreProvider[id = (op=0,part=104),dir = s3a://###################/offers-stage-1/checkpoints/offers-silver-stage1-pipeline/state/0/104]: s3a://###################/offers-stage-1/checkpoints/offers-silver-stage1-pipeline/state/0/104/1.delta does not exist. If the stream job is restarted with a new or updated state operation, please create a new checkpoint location or clear the existing checkpoint location.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;These tables don't have an incredibly high write volume and just two weeks ago I ended up resetting the entire data lake in our dev/stage environment to deploy some new logic; which coincidentally corresponds to our current vacuum policy (i.e., 14 days).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This feels like less than a coincidence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a known issue with using vacuum on tables without a high write volume?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2023 20:16:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/has-anyone-else-seen-state-files-disappear-in-low-volume-delta/m-p/3657#M629</guid>
      <dc:creator>JordanYaker</dc:creator>
      <dc:date>2023-06-04T20:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone else seen state files disappear in low-volume delta tables?</title>
      <link>https://community.databricks.com/t5/data-engineering/has-anyone-else-seen-state-files-disappear-in-low-volume-delta/m-p/3659#M631</link>
      <description>&lt;P&gt;@Kaniz Fatma​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The file is indeed gone. Our permissions have not changed and everything is appropriate.&lt;/LI&gt;&lt;LI&gt;The checkpoint locations have not changed and are still accessible with the proper permissions as I mentioned in item 1.&lt;/LI&gt;&lt;LI&gt;Clearing the existing checkpoint locations is the only thing that works. This is not an acceptable long-term strategy however, because that means each of these pipelines will need to be re-processed and I'll be forever chasing my tail and deleting checkpoints with issues.&lt;/LI&gt;&lt;LI&gt;I'm already managing the checkpoint locations manually in S3.&lt;/LI&gt;&lt;LI&gt;I haven't manipulated the state provider configuration. It's all the default values.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 05 Jun 2023 19:06:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/has-anyone-else-seen-state-files-disappear-in-low-volume-delta/m-p/3659#M631</guid>
      <dc:creator>JordanYaker</dc:creator>
      <dc:date>2023-06-05T19:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone else seen state files disappear in low-volume delta tables?</title>
      <link>https://community.databricks.com/t5/data-engineering/has-anyone-else-seen-state-files-disappear-in-low-volume-delta/m-p/3660#M632</link>
      <description>&lt;P&gt;@Kaniz Fatma​&amp;nbsp;I'm using DBR 11.3 which means PySpark 3.3.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, the full stack trace that I'm getting is attached to this reply.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 19:10:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/has-anyone-else-seen-state-files-disappear-in-low-volume-delta/m-p/3660#M632</guid>
      <dc:creator>JordanYaker</dc:creator>
      <dc:date>2023-06-05T19:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone else seen state files disappear in low-volume delta tables?</title>
      <link>https://community.databricks.com/t5/data-engineering/has-anyone-else-seen-state-files-disappear-in-low-volume-delta/m-p/3662#M634</link>
      <description>&lt;P&gt;Hi @Jordan Yaker​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We haven't heard from you since the last response from @Kaniz Fatma​&amp;nbsp;, and I was checking back to see if her suggestions helped you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else, If you have any solution, please share it with the community, as it can be helpful to others.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 02:32:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/has-anyone-else-seen-state-files-disappear-in-low-volume-delta/m-p/3662#M634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-10T02:32:05Z</dc:date>
    </item>
  </channel>
</rss>

