<?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: SocketTimeout exception when running a display command on spark dataframe in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/sockettimeout-exception-when-running-a-display-command-on-spark/m-p/27564#M19430</link>
    <description>&lt;P&gt;Hi @Manjusha Unnikrishnan​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question first. Or else bricksters will get back to you soon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2022 06:36:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-25T06:36:21Z</dc:date>
    <item>
      <title>SocketTimeout exception when running a display command on spark dataframe</title>
      <link>https://community.databricks.com/t5/data-engineering/sockettimeout-exception-when-running-a-display-command-on-spark/m-p/27563#M19429</link>
      <description>&lt;P&gt;I am using runtime 9.1LTS&lt;/P&gt;&lt;P&gt;I have a R notebook that reads a csv into a R dataframe and does some transformations and finally is converted to spark dataframe using the createDataFrame function.&lt;/P&gt;&lt;P&gt;after that when I call the display function on this spark dataframe, I get the following error&lt;/P&gt;&lt;P&gt;org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 3) (10.139.64.4 executor 0): java.net.SocketTimeoutException: Accept timed out&lt;/P&gt;&lt;P&gt;In the spark UI, in stderr, I can see this message&lt;/P&gt;&lt;P&gt;BufferedStream Thread: Error in file(filename, "r", encoding = encoding)&lt;/P&gt;&lt;P&gt;But when I run this same code in the uat environment that has the same runtime(9.1LTS) this is not happening.&lt;/P&gt;&lt;P&gt;Also, till yesterday we were using 8.2 runtime and the error was not happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:16:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sockettimeout-exception-when-running-a-display-command-on-spark/m-p/27563#M19429</guid>
      <dc:creator>Manjusha</dc:creator>
      <dc:date>2022-10-13T12:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: SocketTimeout exception when running a display command on spark dataframe</title>
      <link>https://community.databricks.com/t5/data-engineering/sockettimeout-exception-when-running-a-display-command-on-spark/m-p/27564#M19430</link>
      <description>&lt;P&gt;Hi @Manjusha Unnikrishnan​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if your peers in the community have an answer to your question first. Or else bricksters will get back to you soon. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 06:36:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/sockettimeout-exception-when-running-a-display-command-on-spark/m-p/27564#M19430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-25T06:36:21Z</dc:date>
    </item>
  </channel>
</rss>

