Yarn使用虚拟核心的概念来管理CPU资源。我会问使用虚拟核心有什么好处,YARN使用虚拟核心有什么原因吗? 最佳答案 这是文档中的内容(强调我的)Anode'scapacityshouldbeconfiguredwithvirtualcoresequaltoitsnumberofphysicalcores.Acontainershouldberequestedwiththenumberofcoresitcansaturate,i.e.theaveragenumberofthreadsitexpectstohaverunnablea