我是yarn的新手,我在Java上编写YARN应用程序 . 根据要求, I can only use N number of physical cores on a machine . YARN允许设置我想要分配给我的应用程序的VCores和Memory的数量 . Is it possible to determine number of VCores for given N number of physical cores?
例如 . 如果我有32个物理内核而我只想使用8个物理内核,那么我的应用程序的VCores数应该是多少?
1 回答
用8
http://blog.cloudera.com/blog/2013/12/managing-multiple-resources-in-hadoop-2-with-yarn/