Skip to content
Snippets Groups Projects
Commit 12135e90 authored by jerryshao's avatar jerryshao Committed by Andrew Or
Browse files

[SPARK-5771][UI][hotfix] Change Requested Cores into * if default cores is not set

cc andrewor14, srowen.

Author: jerryshao <saisai.shao@intel.com>

Closes #4800 from jerryshao/SPARK-5771 and squashes the following commits:

a2483c2 [jerryshao] Change the UI of Requested Cores into * if default cores is not set
parent 5e5ad655
No related branches found
No related tags found
No related merge requests found
...@@ -182,7 +182,7 @@ private[spark] class MasterPage(parent: MasterWebUI) extends WebUIPage("") { ...@@ -182,7 +182,7 @@ private[spark] class MasterPage(parent: MasterWebUI) extends WebUIPage("") {
} }
} }
<td> <td>
{app.requestedCores} {if (app.requestedCores == Int.MaxValue) "*" else app.requestedCores}
</td> </td>
<td sorttable_customkey={app.desc.memoryPerSlave.toString}> <td sorttable_customkey={app.desc.memoryPerSlave.toString}>
{Utils.megabytesToString(app.desc.memoryPerSlave)} {Utils.megabytesToString(app.desc.memoryPerSlave)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment