<?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: Py4JJavaError: An error occurred while calling o465.coun in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78678#M35581</link>
    <description>&lt;P&gt;can you provide complete stacktrace ?&lt;/P&gt;</description>
    <pubDate>Sun, 14 Jul 2024 07:53:29 GMT</pubDate>
    <dc:creator>p4pratikjain</dc:creator>
    <dc:date>2024-07-14T07:53:29Z</dc:date>
    <item>
      <title>Py4JJavaError: An error occurred while calling o465.coun</title>
      <link>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78625#M35574</link>
      <description>&lt;P&gt;The following error occured when running .count() on a big sparkDF.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Py4JJavaError&lt;/SPAN&gt;&lt;SPAN&gt;: An error occurred while calling o465.count. : org.apache.spark.SparkException: Job aborted due to stage failure: Task 6 in stage 3.0 failed 4 times, most recent failure: Lost task 6.3 in stage 3.0 (TID 32) (10.139.64.6 executor 0): java.lang.NullPointerException&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data has close to 1.2mil records and have some nested json objects, so it's pretty big. I am using&amp;nbsp; cluster with 64GB memory and 16GB cores and 16gb worker with 4gb cores.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to solve this count? Is increasing cluster size the only solution?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 03:48:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78625#M35574</guid>
      <dc:creator>sinclair</dc:creator>
      <dc:date>2024-07-13T03:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Py4JJavaError: An error occurred while calling o465.coun</title>
      <link>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78668#M35578</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DBR : ?&amp;nbsp;&lt;BR /&gt;Number of workers: ?&amp;nbsp;&lt;BR /&gt;number of driver node : assuming 1 driver&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 20:11:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78668#M35578</guid>
      <dc:creator>iakshaykr</dc:creator>
      <dc:date>2024-07-13T20:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Py4JJavaError: An error occurred while calling o465.coun</title>
      <link>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78673#M35579</link>
      <description>&lt;P&gt;DBR: 13.3&lt;/P&gt;&lt;P&gt;Min 2 and max 8 workers&lt;/P&gt;&lt;P&gt;Driver node is 1&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 21:50:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78673#M35579</guid>
      <dc:creator>sinclair</dc:creator>
      <dc:date>2024-07-13T21:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Py4JJavaError: An error occurred while calling o465.coun</title>
      <link>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78678#M35581</link>
      <description>&lt;P&gt;can you provide complete stacktrace ?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 07:53:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78678#M35581</guid>
      <dc:creator>p4pratikjain</dc:creator>
      <dc:date>2024-07-14T07:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Py4JJavaError: An error occurred while calling o465.coun</title>
      <link>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78691#M35588</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/112023"&gt;@sinclair&lt;/a&gt;&amp;nbsp;- &lt;EM&gt;Can you please use &lt;STRONG&gt;num_workers=2 or 5&lt;/STRONG&gt; which will be constant instead of using auto scaling ?&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Meantime i am trying to reproduce the same issue in my end !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 12:53:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78691#M35588</guid>
      <dc:creator>iakshaykr</dc:creator>
      <dc:date>2024-07-14T12:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Py4JJavaError: An error occurred while calling o465.coun</title>
      <link>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78706#M35591</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/112023"&gt;@sinclair&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Maybe try to increase number of partitions. There are no enough details, but assuming this error occur on worker due to insufficient memory, increasing partition number can help&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 16:14:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/78706#M35591</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-07-14T16:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Py4JJavaError: An error occurred while calling o465.coun</title>
      <link>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/79424#M35758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/112023"&gt;@sinclair&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to our community! We're here to help you.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To ensure we provide you with the best support, could you please take a moment to review the response and choose the one that best answers your question? Your feedback not only helps us assist you better but also benefits other community members who may have similar questions in the future.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you found the answer helpful, consider giving it a kudo. If the response fully addresses your question, please mark it as the accepted solution. This will help us close the thread and ensure your question is resolved.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We appreciate your participation and are here to assist you further if you need it!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rishabh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 12:56:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/py4jjavaerror-an-error-occurred-while-calling-o465-coun/m-p/79424#M35758</guid>
      <dc:creator>RishabhTiwari07</dc:creator>
      <dc:date>2024-07-19T12:56:49Z</dc:date>
    </item>
  </channel>
</rss>

