You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiaochang Wu (Jira)" <ji...@apache.org> on 2021/07/16 04:11:00 UTC
[jira] [Created] (SPARK-36173) [CORE] Support getting CPU number in
TaskContext
Xiaochang Wu created SPARK-36173:
------------------------------------
Summary: [CORE] Support getting CPU number in TaskContext
Key: SPARK-36173
URL: https://issues.apache.org/jira/browse/SPARK-36173
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 3.1.2
Reporter: Xiaochang Wu
In stage-level resource scheduling, the allocated 3rd party resources can be obtained in TaskContext using resources() interface, however there is no API to get how many cpus are allocated for the task. Will add a cpus() interface to TaskContext in addition to resources().
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org