NetBeans分析器“停止工作” 50线程限制之后? [英] NetBeans profiler "stops working" after 50 thread limit?

查看:119
本文介绍了NetBeans分析器“停止工作” 50线程限制之后?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用NetBeans 7.1分析器来分析运行一系列hadoop任务(本地,单进程)的程序,但每个任务都是在单独的线程中启动的。

我已经将我的根方法设置为映射并减少了我正在使用的Mapper和Reducer的方法,但似乎在线程50之后,netbeans profiler简单地停止分析。它不能识别何时再次调用根方法。



我在最后得到的实时结果停止和快照似乎只包含来自前几个任务的数据。



有谁知道为什么会发生这种情况或如何解决它?

谢谢

解决方案

我找到了。高级设置下的限制配置线程数设置默认设置为32


I'm trying to use the NetBeans 7.1 profiler to profile a program which runs a series of hadoop tasks (local, single-process), but each task is started in a separate thread.

I've set my root methods to be the map and reduce methods of the Mapper and Reducer which I'm using, but it seems like after thread 50, the netbeans profiler simply stops profiling. It doesn't recognize when the root methods are called again.

The live results stop and snapshot I get at the end only seems to contain data from the first couple tasks.

Does anyone know why this happens or how to fix it?

Thank you

解决方案

I found it. There's a "Limit Number of Profiled Threads" setting under advanced settings which is by default set to 32

这篇关于NetBeans分析器“停止工作” 50线程限制之后?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆