questions/apache-spark/page/3
the initial value in folder you specified ...READ MORE
When using the Java substring() method, a ...READ MORE
Hi, You can follow the below-given steps to ...READ MORE
Both 'filter' and 'where' in Spark SQL ...READ MORE
Hello, Your problem is here: val df_merge_final = df_merge .withColumn("version_key", ...READ MORE
Hi@Rishi, Yes, it is possible. If executor no. ...READ MORE
Hi@akhtar, I think you got this error due to version mismatch ...READ MORE
Hi, @Amey, You can go through this regarding ...READ MORE
Hi@Rishi, Yes, number of spark tasks can be ...READ MORE
df.orderBy($"col".desc) - this works as well READ MORE
Hi@akhtar, In /etc/spark/conf/spark-defaults.conf, append the path of your custom ...READ MORE
Hi@abdul, Hadoop 3.0.1 has lots of new features. ...READ MORE
Hi, Use this below given code, it will ...READ MORE
Hi@akhtar, In your error, it shows that you ...READ MORE
Hi@Amey, It depends on your use case. Both ...READ MORE
Hi@Amey, You can enable WebHDFS to do this ...READ MORE
Hi@ akhtar, Both map() and mapPartitions() are the ...READ MORE
Hi@akhtar, Currently, you are running with the default ...READ MORE
from pyspark.sql.types import FloatType fname = [1.0,2.4,3.6,4.2,45.4] df=spark.createDataFrame(fname, ...READ MORE
Hi@akhtar, Regrading to this error, I think the ...READ MORE
Hi@akhtar, You may resolve this exception, by increasing the ...READ MORE
Hey, @KK, You can fix this issue may be ...READ MORE
Hi@akhtar, I also got this error. I am able to ...READ MORE
You can use filter to do this. ...READ MORE
I am pretty sure createOrReplaceTempView just replaced ...READ MORE
Hi@akhtar There are lots of online courses available ...READ MORE
looking for a platform where we can ...READ MORE
Hi@akhtar, As we know text files are in ...READ MORE
Hi@akhtar, The PageRank algorithm outputs a probability distribution ...READ MORE
Spark revolves around the concept of a ...READ MORE
Hi@akhtar, To create multiple producer you have to ...READ MORE
Hi@akhtar Generally, Spark streaming is used for real time ...READ MORE
How can one parse an S3 XML ...READ MORE
Since the file is in HDFS so ...READ MORE
Hi, Scala provides a helper class, called App, that ...READ MORE
Hi, Actions are RDD’s operation, that value returns ...READ MORE
The following code that I wrote for ...READ MORE
Hi, I have the input RDD as a ...READ MORE
Hi, Paired RDD is a distributed collection of ...READ MORE
Hi@akhtar, Yes, Spark streaming uses checkpoint. Checkpoint is ...READ MORE
Please go through the below explanation : Full ...READ MORE
Hi@akhtar, Dstreams are the basic abstraction that is ...READ MORE
You can load a DAT file into ...READ MORE
Hey @Esha, you can use this code. ...READ MORE
Hi@akhtar, There is no concept of indexing in ...READ MORE
Try to put the kafka client for ...READ MORE
Hi, I am getting this error when try ...READ MORE
Function Definition : def test():Unit{ var a=10 var b=20 var c=a+b } calling ...READ MORE
Hi everyone, I tried to count individual words ...READ MORE
Hi@akhtar, Here you are trying to save csv ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.