Can you help me my spark session is taking forever to create like 1 hour the command is still not executed. What to do?
@StatsWire Жыл бұрын
Did you follow the steps? or you should check the documentation
@Sehajbir_Singh127 ай бұрын
is there a way to save the session before exitingg, and open and continue from where we left ?
@StatsWire6 ай бұрын
You can pass the parameter to keep the session alive based on the hours
@ashwinjoshi3331 Жыл бұрын
Hi, I am facing below issue while importing spark session Error : "cannot import name 'SparkSesson' from 'pyspark.sql' (C:\bigdata\spark3\python\pyspark\sql\__init__.py)" I used the command "from pyspark.sql import SparkSesson" I am not sure if it is anything related to path ?
@StatsWire Жыл бұрын
You have made a spelling mistake in the above statement ""from pyspark.sql import SparkSesson", i is missing in SparkSession
@parayou62742 жыл бұрын
I am trying everything, but I can't initialize the Spark Session I got stuck on this Error: NameError: name 'SparkSession' is not defined Could you help me ?
@StatsWire2 жыл бұрын
Is spark properly installed? First import SparkSession and see you are able to import it.
@satishmajji4812 жыл бұрын
You said both are entry points for spark functionality. What's the exact difference between SparkContext and SparkSession?
@StatsWire2 жыл бұрын
SparkContext used to work before the spark 2.0 version and now we just need sparksession. We don't need sparkcontext anymore.
@glong63272 жыл бұрын
Hi. I had followed your instruction but it got an issue: my Executors in Spark UI shows nothing. Do you have any idea? Thanks for your helpful video.
@StatsWire2 жыл бұрын
Are you able to create sparksession? You can set some executors then see.
@172_venkateshtohgaonkar511 ай бұрын
hii i am facing issue while creating the spark session ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
@StatsWire10 ай бұрын
This looks like some connection issue.
@helovesdata84832 жыл бұрын
How do you setup the 8 cores on a local system? I put local 4 and its only using 2.
@StatsWire2 жыл бұрын
Try to increase the core and see how much it is using
@nullb14232 жыл бұрын
When I execute line 2 I get: "The system cannot find the given path". in cmd Do you know how I can solve that problem?
@StatsWire2 жыл бұрын
Have you set environment variables?
@nullb14232 жыл бұрын
@@StatsWire yes
@ana-in1ws Жыл бұрын
Hey i am facing the same issue. Do you know how to resolve this?
@shivakant46983 жыл бұрын
I launched spark shell but sc or spark is not available please solve this issue.
@StatsWire3 жыл бұрын
Can you please paste the error here so I can help you?
@mazharalamsiddiqui69043 жыл бұрын
Very nice tutorial
@StatsWire3 жыл бұрын
Thank you
@madhumallarapu53842 жыл бұрын
Thank you sir
@StatsWire2 жыл бұрын
You're welcome
@anupgupta57813 жыл бұрын
I sm always getting error this spark may be existing one but I am trying for first time
@StatsWire3 жыл бұрын
Can you please paste the error here so I can help you
@anupgupta57813 жыл бұрын
@@StatsWire hey thanks for your reply that error was because of Java Path , also again getting another error could you help which Java and Python version are compatible
@StatsWire3 жыл бұрын
@@anupgupta5781 first you need to set up spark properly like you will have to install java jdk, hadoop etc. My java version is 14.0.2 and python version is 3.8.3 I will share a link with you, you can watch the video install and install pyspark Link: kzbin.info/www/bejne/bYKkp5iLh65rkKs
@anupgupta57813 жыл бұрын
@@StatsWire thankyou
@StatsWire3 жыл бұрын
@@anupgupta5781 you're welcome
@sandeepnelwade2 жыл бұрын
Got error when I create sparksession
@StatsWire2 жыл бұрын
Can you please paste the error.
@لاالہالااللہ-ع8و6ز2 жыл бұрын
I am stuck here " spark=SparkSession.builder.appName("Practice").getOrCreat().config("spark").getOrCreat()" he is showing error : AttributeError: 'Builder' object has no attribute 'getOrCreat'
@StatsWire2 жыл бұрын
Did you install spark correctly?
@لاالہالااللہ-ع8و6ز2 жыл бұрын
@@StatsWire I am using only Jupyter without installing
@StatsWire2 жыл бұрын
@@لاالہالااللہ-ع8و6ز First you have to install spark
@fariz2441 Жыл бұрын
I think your problem might be because you mistyped where you typed 'getOrCreat()' instead of 'getOrCreate()'