questions/apache-spark
Use the function as following: var notFollowingList=List(9.8,7,6,3 ...READ MORE
val coder: (Int => String) = v ...READ MORE
Hi, In Spark, fill() function of DataFrameNaFunctions class is used to replace ...READ MORE
You aren't actually overwriting anything with this ...READ MORE
its late but this how you can ...READ MORE
ReduceByKey is the best for production. READ MORE
Save it to a text file: line.saveAsTextFile("alicia.txt") Print contains ...READ MORE
Recently, there are two new data abstractions ...READ MORE
Spark map function expresses a one-to-one transformation. ...READ MORE
Hi@Prasant, If Spark Streaming is not supporting tuple, ...READ MORE
What does the below code print? val AgeDs ...READ MORE
Hi@Edureka, Spark's internal scheduler may truncate the lineage of the RDD graph ...READ MORE
14)The number of stages in a job ...READ MORE
Hi@ritu, You can create a data frame from ...READ MORE
Hi@ritu, Fault tolerance is the property that enables ...READ MORE
Hi@ritu, Spark's internal scheduler may truncate the lineage of the RDD graph if ...READ MORE
What allows spark to periodically persist data ...READ MORE
Option D) runtime error READ MORE
Option b) .List(0,3,5) The takeOrdered method returns the smallest n elements in a ...READ MORE
Option c) Mapr Jobs that are submitted READ MORE
Hi@ritu, AWS has lots of services. For spark ...READ MORE
Option D: String class READ MORE
Hi@ritu, To start your python spark shell, you ...READ MORE
Hi@Edureka, Checkpointing is a process of truncating RDD ...READ MORE
Option a) List(5,100,10) The take method returns the first n elements in an ...READ MORE
Hi @Ritu If you want to see the ...READ MORE
rror: expected class or object definition sc.parallelize(Array(1L,("SFO")),(2L,("ORD")),(3L,("DFW")))) ^ one error ...READ MORE
A Dataframe can be created from an ...READ MORE
Hi, @Ritu, When creating a pair RDD from ...READ MORE
Hi, @Ritu, option b for you, as Hash Partitioning ...READ MORE
error: expected class or object definition sc.parallelize (Array(1L, ...READ MORE
Hey, @Ritu, According to the question, the answer ...READ MORE
Option c) Run time error - A READ MORE
Hey, @Ritu, I am getting error in your ...READ MORE
After executing your code, there is an ...READ MORE
Hi@ritu, The most appropriate step according to me ...READ MORE
Option d) Run time error. READ MORE
Hi@ritu, I think the problem can be solved ...READ MORE
Hi@ritu, Spark DStream (Discretized Stream) is the basic ...READ MORE
Hi@ritu, You need to learn the Architecture of ...READ MORE
Hi, @Ritu, According to the official documentation of Spark 1.2, ...READ MORE
17)from the given choices, identify the value ...READ MORE
What is the output of the following ...READ MORE
Hi, @Ritu, List(5,100,10) is printed. The take method returns the first n elements in ...READ MORE
Hi@Ruben, I think you can add an escape ...READ MORE
option d, Runtime error READ MORE
Hi@akhtar, Since Avro library is external to Spark, ...READ MORE
Hi, I am able to understand your requirement. ...READ MORE
Hi@akhtar, When we try to retrieve the data ...READ MORE
Hi@dani, You can find the euclidean distance using ...READ MORE
OR
Already have an account? Sign in.