What are the ways in which one can know that the given operation is transformation or action?
Answer / Khalid Khan
In Spark, transformations like map(), filter(), and groupBy() return new RDDs but do not execute immediately. Actions like count(), collect(), and saveAsTextFile() actually trigger the computation and return a value. The difference can be recognized by checking if the operation returns a new RDD or has an explicit collect() or action method.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between hadoop and spark?
Can copper cause a spark?
What is difference between hive and spark?
What is spark driver application?
What is spark in big data?
What are the ways in which Apache Spark handles accumulated Metadata?
What do you understand by Pair RDD?
What is executor memory in a spark application?
Can you explain worker node?
What are the common mistakes developers make when running Spark applications?
Define the roles of the file system in any framework?
Is spark written in scala?
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)