Jump to content

Help With Hadoop Mr Interview Question


Recommended Posts

Posted

Client gave me a MapReduce program to write and submit it. Please help if anyone is good at it or refer me to any of ur friends who can help me. Willing to pay money also
Thanks

Posted

Pm me the question I have a friend who knows hadoop I'll ask him

Posted

Pm me the question I have a friend who knows hadoop I'll ask him

dude sent you the question
Posted

It should be written with map reduce in Java

Consider several log files which are in the following format

2012-07-17 08:00:17 210.94.41.89 - - POST /home FromCP=Yosemite&UUID=7c9b5640-298d-11e4-8c21-0800200c9a66&WT.a_cat=Entertainment&WT.a_nm=Yosemite&WT.a_pub=Inc.&WT.av=01.00.00.06&WT.co=yes&WT.co_f=TajpaUA4Lh4&WT.ct=WIFI&WT.dc=unknown&WT.dl=0&WT.dm=e4f97c91a88ba21d7aaef1bf67e0472e8665b42b174dd7722e4fa787e913891c&WT.ets=Tue+Jul+17+16%3A59%3A57+KST+2012&WT.ev=ApplicationLaunch&WT.g_co=US&WT.os=4.0.4&WT.pi=ContentProvider+Jump&WT.sr=1280x752&WT.sys=custom&WT.ti=ContentProvider+Jump&WT.tz=9&WT.uc=United+States&WT.ul=English&WT.vt_sid=TajpaUA4Lh4.1342511931141&WT.vtid=TajpaUA4Lh4&WT.vtvs=1342511931141 200 - - WebtrendsClientLibrary/v1.1.0.40+(App_Android) - - cc=KR&ci=Seoul&cn=Asia&co=Krnic&cs=Korea+%2D+South&nt=Broadband&rc=11&rs=Seoul+Teugbyeolsi&tp=Vhigh&tz=GMT%2B9 - dcs-2012-07-17-08-00000-pdxdcs18_dc dcsg4md4h4dv0hc5941i5uxvc_1f9w


Where UUID is the user Id and WT.ev=ApplicationLaunch is event which refers to application launch

The code should be able to compute

What are the top 10 user Ids that launched the app in a given day?
When do user’s launch the app the most: 9-12 or 12-5 or 6-9?

The code should run, be correct, efficient and be readable(in that order)

×
×
  • Create New...