master_component_hosts.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. module.exports = [
  19. {
  20. componentName: 'NameNode',
  21. hosts: [
  22. 'host0001.company.com'
  23. ]
  24. },
  25. {
  26. componentName: 'SNameNode',
  27. hosts: [
  28. 'host0002.company.com'
  29. ]
  30. },
  31. {
  32. componentName: 'JobTracker',
  33. hosts: [
  34. 'host0003.company.com'
  35. ]
  36. },
  37. {
  38. componentName: 'Hive Metastore',
  39. hosts: [
  40. 'host0003.company.com'
  41. ]
  42. },
  43. {
  44. componentName: 'HBase Master',
  45. hosts: [
  46. 'host0003.company.com'
  47. ]
  48. },
  49. {
  50. componentName: 'Oozie Server',
  51. hosts: [
  52. 'host0002.company.com'
  53. ]
  54. },
  55. {
  56. componentName: 'Nagios Server',
  57. hosts: [
  58. 'host0002.company.com'
  59. ]
  60. },
  61. {
  62. componentName: 'Ganglia Collector',
  63. hosts: [
  64. 'host0002.company.com'
  65. ]
  66. },
  67. {
  68. componentName: 'ZooKeeper Server',
  69. hosts: [
  70. 'host0001.company.com',
  71. 'host0002.company.com',
  72. 'host0003.company.com'
  73. ]
  74. }
  75. ]