MAPREDUCE-6580. Test failure: TestMRJobsWithProfiler. Contributed by Eric Badger.
(cherry picked from commit0bfe5a0167
) (cherry picked from commit12c1cc889a
)
This commit is contained in:
parent
31843df277
commit
9d7c88f275
|
@ -134,7 +134,7 @@ public class TestMRJobsWithProfiler {
|
||||||
if (!useDefault) {
|
if (!useDefault) {
|
||||||
// use hprof for map to profile.out
|
// use hprof for map to profile.out
|
||||||
sleepConf.set(MRJobConfig.TASK_MAP_PROFILE_PARAMS,
|
sleepConf.set(MRJobConfig.TASK_MAP_PROFILE_PARAMS,
|
||||||
"-agentlib:hprof=cpu=times,heap=sites,force=n,thread=y,verbose=n,"
|
"-agentlib:hprof=cpu=samples,heap=sites,force=n,thread=y,verbose=n,"
|
||||||
+ "file=%s");
|
+ "file=%s");
|
||||||
|
|
||||||
// use Xprof for reduce to stdout
|
// use Xprof for reduce to stdout
|
||||||
|
|
Loading…
Reference in New Issue