Explain sortbykey() operation?
Answer / Kiran Rani
The sortByKey() operation sorts the RDD based on the key values. It returns a new RDD where elements are sorted according to their keys in ascending order by default. For descending order, you can use sortByKey(false).
| Is This Answer Correct ? | 0 Yes | 0 No |
Which language is best for spark?
What is spark configuration?
What are the advantages of DataSets?
Explain about trformations and actions in the context of rdds?
State the difference between Spark SQL and Hql
Is it possible to run Apache Spark without Hadoop?
What are the main components of spark?’
Can you explain how to minimize data transfers while working with Spark?
What is an accumulator in spark?
How do I use spark with big data?
Where does spark plug get power?
What is the difference between spark and apache spark?
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)