Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires In

  Enroll Now

Problem 2-

Write spark code to find out the top five-time frame for high traffic (which day of the week or hour of the day receives peak traffic, this information will help the company to manage resources for handling peak traffic load)

Sample Output-

timeFrame        req_cnt

31/Aug/1995:11   6319
31/Aug/1995:10   6283
31/Aug/1995:13   5948
30/Aug/1995:15   5919
31/Aug/1995:09   5627

Note - If you are stuck, please take inspiration from this solution by one of our students.

Question - Which one of the below does not come in the top 5 timeframes for high traffic?


Note - Having trouble with the assessment engine? Follow the steps listed here


No hints are availble for this assesment

Answer is not availble for this assesment

Loading comments...