New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Cloudera CCA Spark and Hadoop Developer Exam CCA175 Question # 23 Topic 3 Discussion

Cloudera CCA Spark and Hadoop Developer Exam CCA175 Question # 23 Topic 3 Discussion

CCA175 Exam Topic 3 Question 23 Discussion:
Question #: 23
Topic #: 3

Problem Scenario 39 : You have been given two files

spark16/file1.txt

1,9,5

2,7,4

3,8,3

spark16/file2.txt

1,g,h

2,i,j

3,k,l

Load these two tiles as Spark RDD and join them to produce the below results

(l,((9,5),(g,h)))

(2, ((7,4), (i,j))) (3, ((8,3), (k,l)))

And write code snippet which will sum the second columns of above joined results (5+4+3).


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.