explain the concept of RDD (Resilient Distributed Dataset). Also, state how you can create RDDs in Apache Spark.
Answer / Sadhana Dubey
RDD (Resilient Distributed Dataset) is an immutable distributed collection of objects that provides fault-tolerant parallel processing for large datasets in Apache Spark. It serves as the fundamental data structure for performing computations in Spark. RDDs can be created from various sources such as local files, HDFS files, or even other RDDs using Spark's API (Application Programming Interface). Some ways to create RDDs include textFile(path), wholeTextFiles(path), and parallelize(iterable) in Scala, SparkSession.textFile(path), SparkSession.wholeTextFiles(path), and SparkSession.parallelize(iterable) in Java and Python respectively.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between map and flatmap?
Explain about trformations and actions in the context of rdds?
Does Hoe Spark handle monitoring and logging in Standalone mode?
How do you parse data in xml? Which kind of class do you use with java to parse data?
What does rdd stand for?
Is spark used for machine learning?
What are the ways to launch Apache Spark over YARN?
Explain sum(), max(), min() operation in Apache Spark?
Describe coalesce() operation. When can you coalesce to a larger number of partitions? Explain.
Can a spark cause a fire?
In a given spark program, how will you identify whether a given operation is Transformation or Action ?
Explain the difference between Spark SQL and Hive.
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)