elcveovola 发表于 2016-5-16 07:37:58

JDK 1.6.0_29 Mac OS X profiling issue

  Today I tried to run hadoop with hprof to profiling hadoop map tasks. Unfortunately the task failed with below output:
  
  MacBookPro:hadoop-guide gsun$ hadoop -agentlib:hprof=cpu=samples,heap=sites,depth=6,force=n,thread=y,verbose=n,file=prof.output jar hadoop-guide.jar MaxTemperatureDriverWithProfile input/ncdc/sample.txt 
  >>>>
  HPROF ERROR: Can't open /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/jvm.hprof.txt
  HPROF TERMINATED PROCESS
  
  I have to figure out why hprof don't work on Mac OS. Note kept here!!
页: [1]
查看完整版本: JDK 1.6.0_29 Mac OS X profiling issue