storm.hbs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {{!
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. }}
  18. {{view App.SummaryMasterComponentsView mastersCompBinding="view.parentView.mastersObj"}}
  19. <tr>
  20. <td>
  21. <a href="#" {{action filterHosts view.filterComponent}}>
  22. {{t dashboard.services.storm.supervisors}}
  23. </a>
  24. </td>
  25. <td>
  26. <span>
  27. {{#view App.ComponentLiveTextView liveComponentsBinding="view.superVisorsLive" totalComponentsBinding="view.superVisorsTotal"}}
  28. {{view.liveComponents}}/{{view.totalComponents}}
  29. {{/view}}
  30. </span> {{t services.service.summary.SupervisorsLIVE}}
  31. </td>
  32. </tr>
  33. <!-- Divider-- make the remaining summary info on 2nd table-->
  34. </tbody>
  35. </table>
  36. </div>
  37. <div class="span6">
  38. <table class="summary-info table no-borders table-condensed">
  39. <tbody>
  40. <tr>
  41. <td>
  42. {{t services.service.summary.storm.freeslots}}
  43. </td>
  44. <td>
  45. {{formatNull view.service.freeSlots}} / {{formatNull view.service.totalSlots}} ({{formatNull view.freeSlotsPercentage empty="0"}}% {{t common.free}})
  46. </td>
  47. </tr>
  48. <tr>
  49. <td>
  50. {{t services.service.summary.storm.tasks}}
  51. </td>
  52. <td>
  53. {{formatNull view.service.totalTasks}}
  54. </td>
  55. </tr>
  56. <tr>
  57. <td>
  58. {{t services.service.summary.storm.executors}}
  59. </td>
  60. <td>
  61. {{formatNull view.service.totalExecutors}}
  62. </td>
  63. </tr>
  64. <tr>
  65. <td>
  66. {{t services.service.summary.storm.topologies}}
  67. </td>
  68. <td>
  69. {{formatNull view.service.topologies}}
  70. </td>
  71. </tr>
  72. <tr>
  73. <td>
  74. {{t services.service.summary.storm.nimbus.uptime}}
  75. </td>
  76. <td>
  77. {{view.nimbusUptimeFormatted}}
  78. </td>
  79. </tr>