Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> How to set container request's hostname?

Copy link to this message
How to set container request's hostname?
Hi, I want to know how to specify the hostname in require container.

            ResourceRequest request Records.newRecord(ResourceRequest.class);
            Priority pri = Records.newRecord(Priority.class);
            Resource capability = Records.newRecord(Resource.class);
If anyone know how to set HostName here, I guess the "*" can be replaced
by  RackName+HostName, But I don't know the format.


Bing Jiang
weibo: http://weibo.com/jiangbinglover
BLOG: http://blog.sina.com.cn/jiangbinglover
National Research Center for Intelligent Computing Systems
Institute of Computing technology
Graduate University of Chinese Academy of Science