Wednesday 26 November 2014

Profiling a MapReduce program using HProf

You can profile a MapReduce program using Hprof. Some settings are required for this in your driver program as shown below


1
2
3
4
        conf.setBoolean("mapred.task.profile", true);
        conf.set("mapred.task.profile.params", "-agentlib:hprof=cpu=samples," +
                "heap=sites,depth=6,force=n,thread=y,verbose=n,file=%s");
        conf.set("mapred.task.profile.maps", "0-2");

2 comments:

  1. Blackjack & Casino - Mapyro
    Blackjack 오산 출장샵 & Casino, Blackjack, Roulette, Poker & 여주 출장샵 Slots. 1 King Casino in Biloxi, MS 39530. Directions · (662) 369-8000. Call Now · More Info. Hours, Accepts Credit Cards, Attire,  Rating: 5 태백 출장마사지 · ‎1 vote · ‎Price range: 김해 출장마사지 $110 per night 의왕 출장안마 (Latest starting price for this hotel)

    ReplyDelete