printSchema() is working but show() is not working


I am facing a very peculiar issue. In all my spark sessions after sometime the show() function for
my dataframes stop working. How to fix this issue , if it happens during the exam (without loosing the existing results/Dataframes)?

Please suggest?


Learn Spark 1.6.x or Spark 2.x on our state of the art big data labs

  • Click here for access to state of the art 13 node Hadoop and Spark Cluster