[no subject]

2022-11-02 Thread yogita bhardwaj
I wants to unsubscribe Sent from Mail for Windows

[no subject]

2022-09-20 Thread yogita bhardwaj
I have installed pyspark using pip. I m getting the error while running the following code. from pyspark import SparkContext sc=SparkContext() a=sc.parallelize([1,2,3,4]) print(f"a_take:{a.take(2)}") py4j.protocol.Py4JJavaError: An error occurred while calling z:org.apache.spark.api.python.Pytho

Pyspark SparkContext issue

2022-09-20 Thread yogita bhardwaj
I am getting the py4j.protocol.Py4JJavaError while running SparkContext. Can you please help me to resolve this issue. from pyspark import SparkContext sc=SparkContext() a=sc.parallelize([1,2,3,4]) print(f"a_take:{a.take(2)}") py4j.protocol.Py4JJavaError: An error occurred while calling z:org.a

Issue with SparkContext

2022-09-19 Thread yogita bhardwaj
I am getting the py4j.protocol.Py4JJavaError while running SparkContext. Can you please help me to resolve this issue. Sent from Mail for Windows