MAPREDUCE-6580. Test failure: TestMRJobsWithProfiler. Contributed by Eric Badger.

(cherry picked from commit 0bfe5a0167)
This commit is contained in:
Akira Ajisaka 2016-03-23 13:18:06 +09:00
parent a68a9eb2b1
commit 12c1cc889a
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ private void testProfilerInternal(boolean useDefault) throws Exception {
if (!useDefault) {
// use hprof for map to profile.out
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");
// use Xprof for reduce to stdout