如何获取到Hadoop集群的个数
2016-04-15 00:08
204 查看
Class ClusterStatus
====================================================================
Size of the cluster.
Name of the trackers.
Task capacity of the cluster.
The number of currently running map and reduce tasks.
State of the
Details regarding black listed trackers.
-----------------------------------------------------------------------------------------------------------------------
ClusterStatus clusterStatus = new JobClient(new JobConf()).getClusterStatus();
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Nice!
更多文章,请访问
====================================================================
ClusterStatusprovides clients with information such as:
Size of the cluster.
Name of the trackers.
Task capacity of the cluster.
The number of currently running map and reduce tasks.
State of the
JobTracker.
Details regarding black listed trackers.
-----------------------------------------------------------------------------------------------------------------------
ClusterStatus clusterStatus = new JobClient(new JobConf()).getClusterStatus();
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Nice!
更多文章,请访问
相关文章推荐
- 详解HDFS Short Circuit Local Reads
- Hadoop_2.1.0 MapReduce序列图
- 使用Hadoop搭建现代电信企业架构
- 单机版搭建Hadoop环境图文教程详解
- 选定虚拟主机 性能凸显优势
- 修改一行代码提升 Postgres 性能 100 倍
- redis的hGetAll函数的性能问题(记Redis那坑人的HGETALL)
- 推荐Sql server一些常见性能问题的解决方法
- SQL Server误区30日谈 第9天 数据库文件收缩不会影响性能
- 和表值函数连接引发的性能问题分析
- SQLServer 2000 升级到 SQLServer 2008 性能之需要注意的地方之一
- 数据库性能优化三:程序操作优化提升性能
- VBS中的字符串连接的性能问题
- mysql 性能的检查和调优方法
- 数据库性能优化二:数据库表优化提升性能
- SQL语句性能优化(续)
- SQL语句优化提高数据库性能
- 如何用分表存储来提高性能 推荐
- ASP中使用FileSystemObject时提高性能的方法
- hadoop常见错误以及处理方法详解