Cloudera CCA Spark and Hadoop Developer Exam CCA175 Question # 8 Topic 1 Discussion

Cloudera CCA Spark and Hadoop Developer Exam CCA175 Question # 8 Topic 1 Discussion

CCA175 Exam Topic 1 Question 8 Discussion:
Question #: 8
Topic #: 1

Problem Scenario 38 : You have been given an RDD as below,

val rdd: RDD[Array[Byte]]

Now you have to save this RDD as a SequenceFile. And below is the code snippet.

import org.apache.hadoop.io.compress.GzipCodec

rdd.map(bytesArray => (A.get(), new B(bytesArray))).saveAsSequenceFile('7output/path",classOt[GzipCodec])

What would be the correct replacement for A and B in above snippet.


Get Premium CCA175 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.