Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merged from AMBARI-666 branch.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1420976 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 3afc913756dfe80f6dd75bc9d6da9d4b9ec2704e 2 parents 264db1f + 9b15091
Jitendra Nath Pandey authored
Showing with 6,897 additions and 260 deletions.
  1. +11 −0 .gitignore
  2. +633 −0 AMBARI-666-CHANGES.txt
  3. +628 −0 CHANGES.txt
  4. +67 −0 KEYS
  5. +24 −194 LICENSE.txt
  6. +6 −17 NOTICE.txt
  7. +0 −49 README.txt
  8. +25 −0 ambari-agent/conf/unix/ambari-agent
  9. +28 −0 ambari-agent/conf/unix/ambari.ini
  10. +182 −0 ambari-agent/pom.xml
  11. +48 −0 ambari-agent/src/main/puppet/manifestloader/site.pp
  12. +64 −0 ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp
  13. +23 −0 ambari-agent/src/main/puppet/modules/configgenerator/manifests/init.pp
  14. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-dashboard/manifests/dashboard/service_check.pp
  15. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-dashboard/manifests/init.pp
  16. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-dashboard/manifests/params.pp
  17. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-dashboard/templates/cluster_configuration.json.erb
  18. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/checkGmetad.sh
  19. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/checkGmond.sh
  20. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/checkRrdcached.sh
  21. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/gmetad.init
  22. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/gmetadLib.sh
  23. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/gmond.init
  24. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/gmondLib.sh
  25. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/rrdcachedLib.sh
  26. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/setupGanglia.sh
  27. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/startGmetad.sh
  28. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/startGmond.sh
  29. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/startRrdcached.sh
  30. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/stopGmetad.sh
  31. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/stopGmond.sh
  32. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/stopRrdcached.sh
  33. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/files/teardownGanglia.sh
  34. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/config.pp
  35. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/config/generate_monitor.pp
  36. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/config/generate_server.pp
  37. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/hdp-gmetad/service_check.pp
  38. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/hdp-gmond/service_check.pp
  39. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/init.pp
  40. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/monitor.pp
  41. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/monitor_and_server.pp
  42. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/params.pp
  43. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/manifests/server.pp
  44. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/templates/gangliaClusters.conf.erb
  45. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/templates/gangliaEnv.sh.erb
  46. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-ganglia/templates/gangliaLib.sh.erb
  47. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/files/checkForFormat.sh
  48. +56 −0 ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/client.pp
  49. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/datanode.pp
  50. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/hdfs/copyfromlocal.pp
  51. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/hdfs/directory.pp
  52. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/hdfs/service_check.pp
  53. +286 −0 ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
  54. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/jobtracker.pp
  55. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/jobtracker/service_check.pp
  56. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/mapred/service_check.pp
  57. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/namenode.pp
  58. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/namenode/format.pp
  59. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/namenode/service_check.pp
  60. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/package.pp
  61. +172 −0 ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/params.pp
  62. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/service.pp
  63. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/slave/jobtracker-conn.pp
  64. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/slave/master-conn.pp
  65. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/slave/namenode-conn.pp
  66. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/smoketest.pp
  67. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/snamenode.pp
  68. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/manifests/tasktracker.pp
  69. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/templates/commons-logging.properties.erb
  70. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/templates/hadoop-env.sh.erb
  71. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/templates/hadoop-metrics2.properties-GANGLIA.erb
  72. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/templates/hadoop-metrics2.properties.erb
  73. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/templates/health_check.erb
  74. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/templates/log4j.properties.erb
  75. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/templates/slaves.erb
  76. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hadoop/templates/taskcontroller.cfg.erb
  77. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/files/hbaseSmoke.sh
  78. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/manifests/client.pp
  79. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/manifests/hbase/service_check.pp
  80. +110 −0 ambari-agent/src/main/puppet/modules/hdp-hbase/manifests/init.pp
  81. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/manifests/master-conn.pp
  82. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/manifests/master.pp
  83. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/manifests/params.pp
  84. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/manifests/regionserver.pp
  85. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/manifests/service.pp
  86. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/manifests/zk-conn.pp
  87. 0  ...arr; ambari-agent/src/main}/puppet/modules/hdp-hbase/templates/hadoop-metrics.properties-GANGLIA-MASTER.erb
  88. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/templates/hadoop-metrics.properties-GANGLIA-RS.erb
  89. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/templates/hadoop-metrics.properties.erb
  90. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/templates/hbase-env.sh.erb
  91. +80 −0 ambari-agent/src/main/puppet/modules/hdp-hbase/templates/log4j.properties.erb
  92. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hbase/templates/regionservers.erb
  93. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/files/hcatSmoke.sh
  94. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/files/hiveSmoke.sh
  95. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/manifests/client.pp
  96. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/manifests/hcat/service_check.pp
  97. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/manifests/hive/service_check.pp
  98. +72 −0 ambari-agent/src/main/puppet/modules/hdp-hcat-old/manifests/init.pp
  99. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/manifests/mysql-connector.pp
  100. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/manifests/params.pp
  101. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/manifests/server.pp
  102. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/manifests/service.pp
  103. 0  ...puppet/modules/hdp-hcat → ambari-agent/src/main/puppet/modules/hdp-hcat-old}/templates/hcat-env.sh.erb
  104. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat-old/templates/hive-env.sh.erb
  105. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat/files/hcatSmoke.sh
  106. 0  {hmc/puppet/modules/hdp-pig → ambari-agent/src/main/puppet/modules/hdp-hcat}/files/pigSmoke.sh
  107. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat/manifests/hcat/service_check.pp
  108. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat/manifests/init.pp
  109. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hcat/manifests/params.pp
  110. 0  ...puppet/modules/hdp-hcat-old → ambari-agent/src/main/puppet/modules/hdp-hcat}/templates/hcat-env.sh.erb
  111. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hive/files/hiveSmoke.sh
  112. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hive/manifests/client.pp
  113. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hive/manifests/hive/service_check.pp
  114. +93 −0 ambari-agent/src/main/puppet/modules/hdp-hive/manifests/init.pp
  115. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hive/manifests/mysql-connector.pp
  116. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hive/manifests/params.pp
  117. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hive/manifests/server.pp
  118. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hive/manifests/service.pp
  119. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-hive/templates/hive-env.sh.erb
  120. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/lib/facter/kadm_keytab.rb
  121. 0  ...r; ambari-agent/src/main}/puppet/modules/hdp-kerberos/lib/puppet/parser/functions/kerberos_keytabs_input.rb
  122. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/manifests/adminclient.pp
  123. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/manifests/bigtop/init.pp
  124. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/manifests/client.pp
  125. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/manifests/init.pp
  126. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/manifests/params.pp
  127. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/manifests/server.pp
  128. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/templates/kadm5.acl
  129. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/templates/kdc.conf
  130. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/templates/krb5.conf
  131. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-kerberos/tests/init.pp
  132. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-monitor-webserver/manifests/init.pp
  133. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-mysql/files/startMysql.sh
  134. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-mysql/manifests/init.pp
  135. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-mysql/manifests/params.pp
  136. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-mysql/manifests/server.pp
  137. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_aggregate.php
  138. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_cpu.pl
  139. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_datanode_storage.php
  140. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_hdfs_blocks.php
  141. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_hdfs_capacity.php
  142. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_hive_metastore_status.sh
  143. 0  ...dOns/nagios/plugins → ambari-agent/src/main/puppet/modules/hdp-nagios/files}/check_name_dir_status.php
  144. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_oozie_status.sh
  145. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_puppet_agent_status.php
  146. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_rpcq_latency.php
  147. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_templeton_status.sh
  148. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/files/check_webui.sh
  149. 0  ...→ ambari-agent/src/main}/puppet/modules/hdp-nagios/lib/puppet/parser/functions/hdp_nagios_all_hosts.rb
  150. 0  ...ri-agent/src/main}/puppet/modules/hdp-nagios/lib/puppet/parser/functions/hdp_nagios_compute_target_hosts.rb
  151. 0  ...r; ambari-agent/src/main}/puppet/modules/hdp-nagios/lib/puppet/parser/functions/hdp_nagios_members_exist.rb
  152. 0  ...rr; ambari-agent/src/main}/puppet/modules/hdp-nagios/lib/puppet/parser/functions/hdp_nagios_target_hosts.rb
  153. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/manifests/init.pp
  154. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/manifests/nagios/service_check.pp
  155. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/manifests/params.pp
  156. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/manifests/server.pp
  157. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/manifests/server/config.pp
  158. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/manifests/server/packages.pp
  159. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/manifests/target.pp
  160. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/templates/contacts.cfg.erb
  161. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/templates/hadoop-commands.cfg.erb
  162. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/templates/hadoop-hostgroups.cfg.erb
  163. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/templates/hadoop-hosts.cfg.erb
  164. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/templates/hadoop-servicegroups.cfg.erb
  165. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
  166. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-nagios/templates/nagios.cfg.erb
  167. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-oozie/files/oozieSmoke.sh
  168. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-oozie/manifests/client.pp
  169. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-oozie/manifests/download-ext-zip.pp
  170. +98 −0 ambari-agent/src/main/puppet/modules/hdp-oozie/manifests/init.pp
  171. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-oozie/manifests/oozie/service_check.pp
  172. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-oozie/manifests/params.pp
  173. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-oozie/manifests/server.pp
  174. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-oozie/manifests/service.pp
  175. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-oozie/templates/oozie-env.sh.erb
  176. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-oozie/templates/oozie-log4j.properties.erb
  177. 0  {hmc/puppet/modules/hdp-hcat → ambari-agent/src/main/puppet/modules/hdp-pig}/files/pigSmoke.sh
  178. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-pig/manifests/init.pp
  179. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-pig/manifests/params.pp
  180. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-pig/manifests/pig/service_check.pp
  181. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-pig/templates/log4j.properties.erb
  182. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-pig/templates/pig-env.sh.erb
  183. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-pig/templates/pig.properties.erb
  184. +21 −0 ambari-agent/src/main/puppet/modules/hdp-repos/manifests/init.pp
  185. +42 −0 ambari-agent/src/main/puppet/modules/hdp-repos/manifests/process_repo.pp
  186. +26 −0 ambari-agent/src/main/puppet/modules/hdp-repos/templates/repo.erb
  187. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-sqoop/manifests/init.pp
  188. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-sqoop/manifests/mysql-connector.pp
  189. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-sqoop/manifests/params.pp
  190. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-sqoop/manifests/sqoop/service_check.pp
  191. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-sqoop/templates/sqoop-env.sh.erb
  192. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-templeton/files/templetonSmoke.sh
  193. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-templeton/manifests/client.pp
  194. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-templeton/manifests/download-hive-tar.pp
  195. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-templeton/manifests/download-pig-tar.pp
  196. +95 −0 ambari-agent/src/main/puppet/modules/hdp-templeton/manifests/init.pp
  197. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-templeton/manifests/params.pp
  198. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-templeton/manifests/server.pp
  199. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-templeton/manifests/service.pp
  200. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-templeton/manifests/templeton/service_check.pp
  201. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-templeton/templates/templeton-env.sh.erb
  202. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/files/zkEnv.sh
  203. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/files/zkServer.sh
  204. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/files/zkService.sh
  205. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/files/zkSmoke.sh
  206. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/manifests/client.pp
  207. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/manifests/init.pp
  208. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/manifests/params.pp
  209. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/manifests/quorum/service_check.pp
  210. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/manifests/service.pp
  211. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/manifests/zookeeper/service_check.pp
  212. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/templates/configuration.xsl.erb
  213. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/templates/log4j.properties.erb
  214. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/templates/zoo.cfg.erb
  215. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp-zookeeper/templates/zookeeper-env.sh.erb
  216. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_args_as_array.rb
  217. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_array_from_comma_list.rb
  218. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_calc_xmn_from_xms.rb
  219. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_default.rb
  220. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_fail.rb
  221. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_host.rb
  222. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_host_attribute.rb
  223. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_is_empty.rb
  224. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_java_home.rb
  225. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_no_hosts.rb
  226. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_option_value.rb
  227. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_template_var.rb
  228. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_unique_id_and_date.rb
  229. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/lib/puppet/parser/functions/hdp_user.rb
  230. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/.directory
  231. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/configfile.pp
  232. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/download_keytabs.pp
  233. +301 −0 ambari-agent/src/main/puppet/modules/hdp/manifests/init.pp
  234. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/java/jce/package.pp
  235. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/java/package.pp
  236. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/lzo/package.pp
  237. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/namenode-conn.pp
  238. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/package.pp
  239. +377 −0 ambari-agent/src/main/puppet/modules/hdp/manifests/params.pp
  240. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/snappy/package.pp
  241. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/snmp.pp
  242. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/manifests/testing_env_patch.pp
  243. 0  {hmc → ambari-agent/src/main}/puppet/modules/hdp/templates/snmpd.conf.erb
  244. 0  {hmc → ambari-agent/src/main}/puppet/modules/puppetApply.sh
  245. 0  {hmc → ambari-agent/src/main}/puppet/modules/stdlib/CHANGELOG
  246. 0  {hmc → ambari-agent/src/main}/puppet/modules/stdlib/LICENSE
  247. 0  {hmc → ambari-agent/src/main}/puppet/modules/stdlib/Modulefile
  248. 0  {hmc → ambari-agent/src/main}/puppet/modules/stdlib/README.markdown
  249. 0  {hmc → ambari-agent/src/main}/puppet/modules/stdlib/RELEASE_PROCESS.markdown
  250. +23 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/getvar.rb
  251. +27 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/has_key.rb
  252. +20 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/loadyaml.rb
  253. +28 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/merge.rb
  254. +39 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/validate_bool.rb
  255. +37 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/validate_hash.rb
  256. +35 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/parser/functions/validate_re.rb
  257. +15 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/provider/append_line/ruby.rb
  258. +32 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/type/anchor.rb
  259. +44 −0 ambari-agent/src/main/puppet/modules/stdlib/lib/puppet/type/append_line.rb
  260. +19 −0 ambari-agent/src/main/puppet/modules/stdlib/manifests/init.pp
  261. +43 −0 ambari-agent/src/main/puppet/modules/stdlib/manifests/stages.pp
  262. 0  {hmc → ambari-agent/src/main}/puppet/modules/stdlib/spec/spec.opts
  263. +18 −0 ambari-agent/src/main/puppet/modules/stdlib/spec/spec_helper.rb
  264. +53 −0 ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/getvar_spec.rb
  265. +46 −0 ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/has_key_spec.rb
  266. +54 −0 ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/merge_spec.rb
  267. +76 −0 ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/validate_bool_spec.rb
  268. +63 −0 ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/parser/functions/validate_hash_spec.rb
  269. +30 −0 ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/provider/append_line/ruby_spec.rb
  270. +11 −0 ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/type/anchor_spec.rb
  271. +24 −0 ambari-agent/src/main/puppet/modules/stdlib/spec/unit/puppet/type/append_line_spec.rb
  272. +7 −0 ambari-agent/src/main/puppet/modules/stdlib/tests/append_line.pp
  273. +1 −0  ambari-agent/src/main/puppet/modules/stdlib/tests/init.pp
  274. +154 −0 ambari-agent/src/main/python/ambari_agent/ActionQueue.py
  275. +52 −0 ambari-agent/src/main/python/ambari_agent/ActionResults.py
  276. +74 −0 ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
  277. +198 −0 ambari-agent/src/main/python/ambari_agent/Controller.py
  278. +48 −0 ambari-agent/src/main/python/ambari_agent/DaemonHandler.py
  279. +185 −0 ambari-agent/src/main/python/ambari_agent/FileUtil.py
  280. +44 −0 ambari-agent/src/main/python/ambari_agent/Grep.py
  281. +151 −0 ambari-agent/src/main/python/ambari_agent/Hardware.py
  282. +98 −0 ambari-agent/src/main/python/ambari_agent/Heartbeat.py
  283. +50 −0 ambari-agent/src/main/python/ambari_agent/NetUtil.py
  284. +48 −0 ambari-agent/src/main/python/ambari_agent/PackageHandler.py
  285. +38 −0 ambari-agent/src/main/python/ambari_agent/ProcUtil.py
  286. +51 −0 ambari-agent/src/main/python/ambari_agent/Register.py
  287. +92 −0 ambari-agent/src/main/python/ambari_agent/RepoInstaller.py
  288. +66 −0 ambari-agent/src/main/python/ambari_agent/Runner.py
  289. +50 −0 ambari-agent/src/main/python/ambari_agent/ServerStatus.py
  290. +105 −0 ambari-agent/src/main/python/ambari_agent/StatusCheck.py
  291. +39 −0 ambari-agent/src/main/python/ambari_agent/__init__.py
  292. +205 −0 ambari-agent/src/main/python/ambari_agent/createDaemon.py
  293. +37 −0 ambari-agent/src/main/python/ambari_agent/daemon.py
  294. +13 −0 ambari-agent/src/main/python/ambari_agent/imports.txt
  295. +160 −0 ambari-agent/src/main/python/ambari_agent/main.py
  296. +273 −0 ambari-agent/src/main/python/ambari_agent/manifestGenerator.py
  297. +169 −0 ambari-agent/src/main/python/ambari_agent/puppetExecutor.py
  298. +41 −0 ambari-agent/src/main/python/ambari_agent/rolesToClass.dict
  299. +140 −0 ambari-agent/src/main/python/ambari_agent/security.py
  300. +3 −0  ambari-agent/src/main/python/ambari_agent/serviceStates.dict
Sorry, we could not display the entire diff because too many files (2,288) changed.
View
11 .gitignore
@@ -0,0 +1,11 @@
+.classpath
+.project
+.settings
+.idea/
+.iml/
+.DS_Store
+target
+/ambari-web/public/
+/ambari-web/node_modules/
+*.pyc
+*.py~
View
633 AMBARI-666-CHANGES.txt
@@ -0,0 +1,633 @@
+Ambari Change log
+
+Notes:
+ - Committers should be listed using their login and non-committers
+should be listed by their full name.
+ - Please keep the file to a max of 80 characters wide.
+ - Put latest commits first in each section.
+
+AMBARI-666 branch (unreleased changes)
+
+ INCOMPATIBLE CHANGES
+
+ NEW FEATURES
+
+ AMBARI-1054. Implement retrying of bootstrap on confirm host page.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-1048. Integrate slave configuration parameters with respective
+ service on step7 of installer wizard. (Jaimin Jetly via yusaku)
+
+ AMBARI-1031. Check for host registration at step3 of installer wizard
+ and retrieve information for RAM and no. of cores. (Jaimin Jetly via
+ yusaku)
+
+ AMBARI-1022. Integrate Heatmap UI to backend API. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1015. Create HBase summary section in Dashboard & Service
+ pages. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1014. Hook service summary sections in service pages to API.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1008. Populate dashboard>MapReduce section with API data.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1006. Populate dashboard>HDFS section with API data.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1004. Allow properties entered in custom config
+ (ex: hdfs-site.xml) to override existing or create new properties.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-1002. Integrate Installer with config APIs. (Jaimin Jetly
+ via yusaku)
+
+ AMBARI-989. Show task logs for each host in the Deploy step of the
+ wizard. (yusaku)
+
+ AMBARI-976. Hook HDFS/MapReduce/HBase/Host graphs to backend API
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-964. Implement summary page of installer wizard. (Jaimin Jetly
+ via yusaku)
+
+ AMBARI-974. Decommissioning of datanodes. (Jitendra Pandey via mahadev)
+
+ AMBARI-975. Fix support for cascading updates to configs. (Hitesh Shah
+ via mahadev)
+
+ AMBARI-971. Add api support for creating multiple resources in a single
+ request. (John Speidel via mahadev)
+
+ AMBARI-970. Add additional Ganglia metrics and JMX properties. (Tom
+ Beerbower via mahadev)
+
+ AMBARI-967. Enhance predicate comparison. (Tom Beerbower via mahadev)
+
+ AMBARI-954. Support installation of Ganglia master and slaves via
+ Ambari Web. (yusaku)
+
+ AMBARI-980. Allow installation of various service components. (yusaku)
+
+ AMBARI-949. Provide metric graphs for individual hosts. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-948. Invoke service starts after services are installed in the
+ wizard. (yusaku)
+
+ AMBARI-942. Integrate Install and Start APIs with the installer wizard.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-936. Provide HBase service specific graphs. (Srimanth Gunturi
+ via yusaku)
+
+ AMBARI-933. Provide service-specific alerts in the service summary
+ pages. (Srimanth Gunturi via yusaku)
+
+ AMBARI-938. Hardcode service name and client component mapping while
+ awaiting meta data integration. (hitesh)
+
+ AMBARI-927. Provide metrics graphs on the MapReduce services page.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-916. Provide metrics graphs in HDFS services page. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-908. Add ui option to either create a Postgres database for Hive
+ and Oozie or choose existing database. (Jaimin Jetly via yusaku)
+
+ AMBARI-915. Implement App Browser for displaying and navigating Pig/Hive
+ workflows. (yusaku)
+
+ AMBARI-907. Add support for getting multiple objects in controller.
+ (hitesh)
+
+ AMBARI-906. Util to extract hosts for various components. (jitendra)
+
+ AMBARI-903. Various fixes for config handling integration. (Hitesh Shah via
+ mahadev)
+
+ AMBARI-900. Add configuration mapping support. (Nate Cole via mahadev)
+
+ AMBARI-895. Need name consistency for metrics. (Tom Beerbower via mahadev)
+
+ AMBARI-893. provide api support for temporal queries. (John Speidel via
+ mahadev)
+
+ AMBARI-897. Operations request object and skeleton management methods.
+ (jitendra)
+
+ AMBARI-894. TestHeartBeatMonitor fails intermittently. (jitendra)
+
+ AMBARI-892. Add puppet executor at the agent to be able to run various
+ commands from the server. (mahadev)
+
+ AMBARI-887. Ability to save configuration. (Nate Cole via mahadev)
+
+ AMBARI-877. Refactor resource provider implementation for changes to
+ management interface. (Tom Beerbower via mahadev)
+
+ AMBARI-876. Put metrics under metrics category. (Tom Beerbower via
+ mahadev)
+
+ AMBARI-890. Add client library option to step6 (Assign slaves) of
+ installer wizard. Also add indicator and popovers for hosts with
+ master component. (Jaimin Jetly via yusaku)
+
+ AMBARI-889. Provide cluster metric graphs on Ambari main dashboard.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-886. Support filters in controller get* apis. (hitesh)
+
+ AMBARI-880. Implement Review Page (Step 8) for the Ambari Installer
+ Wizard. (Jaimin Jetly via yusaku)
+
+ AMBARI-872. Hookup Nagios alerts section in Ambari UI to backend
+ server. (Srimanth Gunturi via yusaku)
+
+ AMBARI-871. Integrate basic set of rest APIs with ambari-web
+ installer wizardi. (Jaimin Jetly via yusaku)
+
+ AMBARI-884. Implement Dashboard/Service summary. (yusaku)
+
+ AMBARI-882. Group-based DataNode/TaskTracker/RegionServer overrides.
+ (yusaku)
+
+ AMBARI-881. Implement Add Hosts Wizard. (yusaku)
+
+ AMBARI-869. Util to deserialize ExecutionCommand. (jitendra)
+
+ AMBARI-874. Fix hostinfo reporting at the server and add a unit test for
+ deserilization for the host information from agent. (mahadev)
+
+ AMBARI-873. Support for multiple objects' updates in controller. (hitesh)
+
+ AMBARI-870. Support metric types other than string (Tom Beerbower via
+ mahadev)
+
+ AMBARI-868. Clean up site.pp generation on the agent and remove the imports
+ in the sample site.pp. (mahadev)
+
+ AMBARI-862. API query against /clusters doesn't return any data.
+ (John Speidel via mahadev)
+
+ AMBARI-866. Add ORM layer for the FSM's in the server. (mahadev)
+
+ AMBARI-853. Add more complete JMX metrics. (Tom Beerbower via mahadev)
+
+ AMBARI-852. Improve REST API functionality regarding query and partial
+ response (John Speidel via mahadev)
+
+ AMBARI-865. Add unit test for action queue on the agent. (mahadev)
+
+ AMBARI-851. Hook up Ganglia property provider. (Tom Beerbower via mahadev)
+
+ AMBARI-863. Fix mvn tests to be able to run the python tests cleanly.
+ (mahadev)
+
+ AMBARI-849. Stage planner implementation. (jitendra)
+
+ AMBARI-860. Remove code that adds fake stages for testing. (jitendra)
+
+ AMBARI-856. Add cluster heatmap. (yusaku)
+
+ AMBARI-855. Create the skeleton for a custom data adapter in Ambari Web.
+ (yusaku)
+
+ AMBARI-854. Serve ambari-web from jetty. (Jaimin Jely via yusaku)
+
+ AMBARI-850. Flatten ExecutionCommand structure. (jitendra)
+
+ AMBARI-848. Various tests for FSM and Controller impl. (hitesh)
+
+ AMBARI-847. Run pyunit tests from maven test target and also autogenerated
+ openssl passphrase. (mahadev)
+
+ AMBARI-845. Fix NPE in the server to be able to run the server api's.
+ (mahadev)
+
+ AMBARI-844. Mock JMX provider for manual tests. (Tom Beerbower via mahadev)
+
+ AMBARI-841. Fix comparison predicates in case where resource does not have
+ property value. (Tom Beerbower via mahadev)
+
+ AMBARI-833. Add missing Path annotation to rest services for
+ put/post/delete. (John Speidel via mahadev)
+
+ AMBARI-838. HACK: Add a thread in server to inject requests for testing.
+ (Jitendra via mahadev)
+
+ AMBARI-835. Update JMXPropertyProvider. (Tom Beerbower via hitesh)
+
+ AMBARI-832. Merge ambari-api with ambari-server (mahadev)
+
+ AMBARI-822. Implement an agent simulator for unit testing. (jitendra)
+
+ AMBARI-829. Add unit tests for ResourceProviderImpl. (Tom Beerbower via
+ mahadev)
+
+ AMBARI-831. Move manifest generation into the ambari agent directory.
+ (mahadev)
+
+ AMBARI-828. Manifest generation for various actions from the server.
+ (mahadev)
+
+ AMBARI-827. Add clusterName to the status of the commands run by the agent.
+ (mahadev)
+
+ AMBARI-824. Provide basic management functionality (create/update) in the
+ rest api (John Speidel via mahadev)
+
+ AMBARI-826. Bug in processing command reports. (jitendra)
+
+ AMBARI-825. Controller layer implementation part 3. (hitesh)
+
+ AMBARI-823. Fix security filter on the server agent ports and remove
+ duplication on servlet contexts for certs signing. (mahadev)
+
+ AMBARI-821. Implement basic service state update and verify flow to
+ ActionManager. (hitesh)
+
+ AMBARI-812. In API , improve partial response support to drill down n levels
+ (John Spiedel)
+
+ AMBARI-791. Add unit tests and java docs for SPI code. (Tom Beerbower)
+
+ AMBARI-820. Remove JAXB dependencies in Server Agent protocol and move to
+ POJO based jackson serializer. (mahadev)
+
+ AMBARI-819. Management controller implemenation work. (hitesh)
+
+ AMBARI-811. Bug fix in jaxb serialization for maps. (jitendra)
+
+ AMBARI-810. Controller layer implementation part 1. (hitesh)
+
+ AMBARI-807. Fix Action scheduler tests because of fsm interface changes.
+ (jitendra)
+
+ AMBARI-806. Remove State object as configs/stack version/running state are
+ handled as standalone entities. (hitesh)
+
+ AMBARI-805. Add requestId tracking objects for management spi. (hitesh)
+
+ AMBARI-803. FSM initial refactoring for eventual live/desired objects. (hitesh)
+
+ AMBARI-800. Hack to add a stage for testing in in-memory db. (jitendra)
+
+ AMBARI-801. Fix heartbeat message from the agent which is causing NPE at the
+ server. (mahadev)
+
+ AMBARI-778. Ensure data flows across all steps in installer wizard.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-799. Prototype for management spi part 3. (hitesh)
+
+ AMBARI-797. Prototype for management spi interface continued. (hitesh)
+
+ AMBARI-795. Fix failing tests for AgentResource and BootStrap. (mahadev)
+
+ AMBARI-793. Make MapReduce, Nagios, and Ganglia optional during cluster
+ install. (yusaku)
+
+ AMBARI-794. Add log4j properties for logging at the server. (mahadev)
+
+ AMBARI-790. OK in registration response. (jitendra)
+
+ AMBARI-787. Registration throws HostNotFoundException for new hosts. (jitendra)
+
+ AMBARI-788. Fix server and agent startup for end to end testing. (mahadev)
+
+ AMBARI-785. Action response unit test. (jitendra)
+
+ AMBARI-783. Fix guice injection in the server. (mahadev)
+
+ AMBARI-784. Add Resource download API on the server. (mahadev)
+
+ AMBARI-781. Registration unit test. (jitendra)
+
+ AMBARI-754. Heartbeat handler: Registration response should query component
+ status. (jitendra)
+
+ AMBARI-755. Heartbeat handler: Update state as reported in heartbeat.
+ (jitendra)
+
+ AMBARI-756. Heartbeat handler: Handle heartbeat timeout. (jitendra)
+
+ AMBARI-767. Add bootstrap script to ssh in parallel and setup agents on a
+ list of hosts. (mahadev)
+
+ AMBARI-764. Integrate REST API (Tom Beerbower via mahadev)
+
+ AMBARI-762. Implement Confirm Hosts page for Ambari installer
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-763. Implement Installer Step 6 (Assign Slaves). (yusaku)
+
+ AMBARI-760. Fix injection in data access objects to use guice provider.
+ (mahadev)
+
+ AMBARI-759. Add puppet scripts to the agent for configuring/installing
+ various services and add security aspects to api's and server/agent.
+ (mahadev)
+
+ AMBARI-749. Complete Java side implementation of bootstrapping agent hosts.
+ (mahadev)
+
+ AMBARI-757. Implement Installer Step 4 (Select Services). (yusaku)
+
+ AMBARI-751. Re-structure servicecomponenthost fsm layout. (hitesh)
+
+ AMBARI-732. Action scheduler unit tests. (jitendra)
+
+ AMBARI-739. Cluster fsm implementation. (hitesh)
+
+ AMBARI-738. s/Node/Host/g. (hitesh)
+
+ AMBARI-737. ServiceComponentNode FSM implementation. (hitesh)
+
+ AMBARI-722. Action scheduler implementation. (jitendra)
+
+ AMBARI-733. Add Jersey Resource for BootStrapping and JAXB elements for API
+ entities. (mahadev)
+
+ AMBARI-730. Add unit tests for jersey apis on the server. (mahadev)
+
+ AMBARI-725. Add commandstatus/result/error objects into the rest API between
+ server and agent. (mahadev)
+
+ AMBARI-723. Implement Installer Welcome page and Install Options page
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-726. ORM-based data access layer for new design (Jaimin Jetly via hitesh)
+
+ AMBARI-728. Initial work on ServiceComponentNode FSM. (hitesh)
+
+ AMBARI-724. Add tabs, dynamic form generation, validation errors, and info
+ popovers for Customize Services page in Installer (yusaku)
+
+ AMBARI-714. Job FSM Impl and tests. (hitesh)
+
+ AMBARI-721. Remove Hardwareprofile class since its not needed anymore.
+ (mahadev)
+
+ AMBARI-720. Tweak basic styles for Installer. (yusaku)
+
+ AMBARI-719. Enable Responsive Design. (yusaku)
+
+ AMBARI-716. Add back TestNodeImpl and fix memory types and disk info
+ serialization. (mahadev)
+
+ AMBARI-717. Starter implementation for Installer Customize Services page.
+ Stylize top nav and implement static footer. Stylize login page. (yusaku)
+
+ AMBARI-711. Create utility functions related to localStorage for first two
+ steps: cluster name and Install options. Also develop view logic with
+ preliminary validations for these two steps. (Jaimin Jetly via yusaku)
+
+ AMBARI-715. Integrate domain objects and Rest serialized objects. (mahadev)
+
+ AMBARI-713. Initial work on Job FSM. (hitesh)
+
+ AMBARI-712. Action manager skeleton. (jitendra)
+
+ AMBARI-710. Basic registration and heartbeat protocol implementation between
+ the server and the agent. (mahadev)
+
+ AMBARI-709. Getting hardware info on disks/cpu/others using facter and using
+ it during registeration. (mahadev)
+
+ AMBARI-707. More work on Node FSM and additional tests/cleanup. (hitesh)
+
+ AMBARI-706. Basic tests for Node FSM. (hitesh)
+
+ AMBARI-705. Initial work on Node FSM. (hitesh)
+
+ AMBARI-703. Heartbeat handler classes. (jitendra)
+
+ AMBARI-702. Add skeleton for Ambari agent that talks to the server and
+ collects information for host. (mahadev)
+
+ AMBARI-696. Add interface for ActionManager to access live state. (hitesh)
+
+ AMBARI-698. Add a simple server and artifact generation to run a server with
+ a simple api check. (mahadev)
+
+ AMBARI-697. Ambari Web (browser-based UI) skeleton. (Jaimin Jetly and yusaku)
+
+ AMBARI-695. More basic class restructuring for new design. (hitesh)
+
+ AMBARI-694. Class to encapsulate stage. (jitendra)
+
+ AMBARI-691. More basic classes for new design. (hitesh)
+
+ AMBARI-693. Classes for request objects. (jitendra)
+
+ AMBARI-685. Basic classes. (hitesh via jitendra)
+
+ AMBARI-676. Seperate directory for ambari-server. (jitendra)
+
+ IMPROVEMENTS
+
+ AMBARI-1053. Dashboard page loads very slow due to hosts?fields=* API call
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1051. Dashboard page takes long time to load. (Srimanth Gunturi via
+ yusaku)
+
+ AMBARI-1041. Additional metrics need to be added to Heatmap UI. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1040. Cluster heatmap: green should always mean "good". (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1039. Improve Nagios alerts time display. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1036. Service Info/Quick Links do not display external hostnames.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1035. Aggregate creation of multiple services and assignment of host
+ to cluster. (Jaimin Jetly via yusaku)
+
+ AMBARI-1034. Metric Charts - display local time rather than UTC.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1033. Nagios and Ganglia links should use public host names in URLs.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1030. Metrics links in web ui should link to Ganglia UI. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1025. Display total install and start services time on summary page
+ and polish summary page ui. (Jaimin Jetly via yusaku)
+
+ AMBARI-1023. Dashboard page should handle API sending JSON as strings and
+ object. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1011. Create 2 missing HDFS service graphs. (Srimanth Gunturi via
+ yusaku)
+
+ AMBARI-1003. Nagios sections should use backend API to populate. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1062. Convert Apache license header comment style in Handlebars files
+ to Handlebars comments rather than JavaScript comments. (yusaku)
+
+ AMBARI-1061. Data loading refactoring for cluster management. (yusaku)
+
+ AMBARI-1060. Data loading for App Browser. (yusaku)
+
+ AMBARI-993. Hook up login with server authentication. (yusaku)
+
+ AMBARI-1059. Refactor cluster management. (yusaku)
+
+ AMBARI-1058. Implement data loading. (yusaku)
+
+ AMBARI-956. On unavailability of non-master components, host with least
+ number of master components should install all slave and client components.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-990. Refactor App Browser. (yusaku)
+
+ AMBARI-979. More refactoring of App Browser code. (yusaku)
+
+ AMBARI-947. Make it easier to test Deploy (Install, Start + Test) step
+ of the wizard. (yusaku)
+
+ AMBARI-978. Refactor App Browser code. (yusaku)
+
+ AMBARI-977. Refactor Wizard and Cluster Management code. (yusaku)
+
+ AMBARI-941. More refactoring of Wizards in Ambari Web. (yusaku)
+
+ AMBARI-919. Partial refactoring and consolidation of code for various
+ wizards. (yusaku)
+
+ AMBARI-918. Update styles in Cluster Management. (yusaku)
+
+ AMBARI-917. Update layout and flow for App Browser. (yusaku)
+
+ AMBARI-888. Add more tests for controller implementation. (hitesh)
+
+ AMBARI-891. Initial work to refactor the Wizards in Ambari Web. (yusaku)
+
+ AMBARI-883. Improve user interactions on Confirm Hosts page of the
+ Installer. (yusaku)
+
+ AMBARI-859. Tighten up the layout for the Install page of the Installer.
+ (yusaku)
+
+ AMBARI-857. Refactor Install Options page for the Install Wizard. (yusaku)
+
+ OPTIMIZATIONS
+
+ BUG FIXES
+
+ AMBARI-1046. Heatmap with no numbers on the hover. (Srimanth Gunturi via
+ yusaku)
+
+ AMBARI-1045. Service summary sections have incorrect values displayed.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1042. Heatmap UI fluctuates between white and green colors
+ intermittently. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1032. Host hover in cluster heatmap showing mock data. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1028. MapReduce & HDFS summaries should use ServiceComponentInfo
+ values. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1017. Alerts not showing up in Ambari UI due to model refactoring.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1013. Host metrics charts should use live data. (Srimanth Gunturi
+ via yusaku)
+
+ AMBARI-1009. Cluster level graphs need to use API for data. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1064. App Browser fixes. (yusaku)
+
+ AMBARI-995. Deploy logs not shown for failed tasks. (yusaku)
+
+ AMBARI-992. Logout does not clean application state properly. (yusaku)
+
+ AMBARI-957. Adding a host whose hostname is the same as the one the user
+ is accessing Ambari Web with breaks the Installer. (yusaku)
+
+ AMBARI-953. Fix navigation issues in installer wizard due to regression.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-899. Use slf4j-api 1.5.5 rather than 1.6.6. (yusaku)
+
+ AMBARI-902. Fix ZooKeeper badge allocation logic for single host and
+ muliple hosts installation in step5 installer wizard. (Jaimin Jetly via
+ yusaku)
+
+ AMBARI-896. Resolve all navigation related issues for Step6 (Slave and
+ Client component) of installer wizard. (Jaimin Jetly via yusaku)
+
+ AMBARI-914. Fix issues related to Slave Component Group in Installer.
+ (yusaku)
+
+ AMBARI-909. Pass correct cluster info to Action Manager. (hitesh)
+
+ AMBARI-904. Ensure state changes only happen after actionmanager persists
+ actions. (hitesh)
+
+ AMBARI-905. Fix puppet site creation with flattening of execution commands
+ send from the server. (mahadev)
+
+ AMBARI-885. Fix miscellaneous issues related to Ambari Web. (yusaku)
+
+ AMBARI-879. Installer skips Confirm Hosts page of the wizard when testing
+ locally without Ambari Server. (yusaku)
+
+ AMBARI-878. Various tests for FSM, controller and state objects. (hitesh)
+
+ AMBARI-858. Installer -> Select Services page: warning popups are no longer
+ appearing. (yusaku)
+
+ AMBARI-846. Select Masters Page: make ZooKeeper addition/removal UI more
+ organized. (Jaimin Jetly via yusaku)
+
+ AMBARI-840. Hitting browser refresh should not clear present step data that
+ had already been persisted to local DB. (Jaimin Jetly via yusaku)
+
+ AMBARI-843. Fix more null pointers for partial request objects. (hitesh)
+
+ AMBARI-842. Fix null point exception during adding of hosts to cluster. (hitesh)
+
+ AMBARI-839. Temporary fix for server start order. (hitesh)
+
+ AMBARI-837. Fix basic injection issues for controller impl. (hitesh)
+
+ AMBARI-836. Fix generation of requestId to be unique across restarts. (hitesh)
+
+ AMBARI-834. Use RoleCommand instead of ServiceComponentHostEventType for HostAction
+ in Controller. (hitesh)
+
+ AMBARI-830. Various fixes and tests for controller implementation. (hitesh)
+
+ AMBARI-808. Handle appropriate start/stop/install/.. events at their respective
+ failed states. (hitesh)
+
+ AMBARI-798. Fix import issue due to move of Predicate class. (hitesh)
+
+ AMBARI-780. Make FSM related changes for heartbeat handler. (hitesh)
+
+ AMBARI-774. Renable and fix AgentResourceTest. (mahadev)
+
+ AMBARI-773. Change Host FSM as per new requirements of heartbeat handler. (hitesh)
+
+ AMBARI-753. Fix broken compile as a result of re-factor of FSM layout. (hitesh)
+
+ AMBARI-752. Add missing license header to TestServiceComponentHostState. (hitesh)
+
+ AMBARI-718. Fix installer navigation. (yusaku)
+
+ AMBARI-684. Remove non-required dependencies from pom files (hitesh via jitendra)
+
+ AMBARI-680. Fix pom structure. (hitesh)
View
628 CHANGES.txt
@@ -8,6 +8,634 @@ should be listed by their full name.
Trunk (unreleased changes)
+Changes merged from AMBARI-666
+
+ INCOMPATIBLE CHANGES
+
+ NEW FEATURES
+
+ AMBARI-1054. Implement retrying of bootstrap on confirm host page.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-1048. Integrate slave configuration parameters with respective
+ service on step7 of installer wizard. (Jaimin Jetly via yusaku)
+
+ AMBARI-1031. Check for host registration at step3 of installer wizard
+ and retrieve information for RAM and no. of cores. (Jaimin Jetly via
+ yusaku)
+
+ AMBARI-1022. Integrate Heatmap UI to backend API. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1015. Create HBase summary section in Dashboard & Service
+ pages. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1014. Hook service summary sections in service pages to API.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1008. Populate dashboard>MapReduce section with API data.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1006. Populate dashboard>HDFS section with API data.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1004. Allow properties entered in custom config
+ (ex: hdfs-site.xml) to override existing or create new properties.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-1002. Integrate Installer with config APIs. (Jaimin Jetly
+ via yusaku)
+
+ AMBARI-989. Show task logs for each host in the Deploy step of the
+ wizard. (yusaku)
+
+ AMBARI-976. Hook HDFS/MapReduce/HBase/Host graphs to backend API
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-964. Implement summary page of installer wizard. (Jaimin Jetly
+ via yusaku)
+
+ AMBARI-974. Decommissioning of datanodes. (Jitendra Pandey via mahadev)
+
+ AMBARI-975. Fix support for cascading updates to configs. (Hitesh Shah
+ via mahadev)
+
+ AMBARI-971. Add api support for creating multiple resources in a single
+ request. (John Speidel via mahadev)
+
+ AMBARI-970. Add additional Ganglia metrics and JMX properties. (Tom
+ Beerbower via mahadev)
+
+ AMBARI-967. Enhance predicate comparison. (Tom Beerbower via mahadev)
+
+ AMBARI-954. Support installation of Ganglia master and slaves via
+ Ambari Web. (yusaku)
+
+ AMBARI-980. Allow installation of various service components. (yusaku)
+
+ AMBARI-949. Provide metric graphs for individual hosts. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-948. Invoke service starts after services are installed in the
+ wizard. (yusaku)
+
+ AMBARI-942. Integrate Install and Start APIs with the installer wizard.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-936. Provide HBase service specific graphs. (Srimanth Gunturi
+ via yusaku)
+
+ AMBARI-933. Provide service-specific alerts in the service summary
+ pages. (Srimanth Gunturi via yusaku)
+
+ AMBARI-938. Hardcode service name and client component mapping while
+ awaiting meta data integration. (hitesh)
+
+ AMBARI-927. Provide metrics graphs on the MapReduce services page.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-916. Provide metrics graphs in HDFS services page. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-908. Add ui option to either create a Postgres database for Hive
+ and Oozie or choose existing database. (Jaimin Jetly via yusaku)
+
+ AMBARI-915. Implement App Browser for displaying and navigating Pig/Hive
+ workflows. (yusaku)
+
+ AMBARI-907. Add support for getting multiple objects in controller.
+ (hitesh)
+
+ AMBARI-906. Util to extract hosts for various components. (jitendra)
+
+ AMBARI-903. Various fixes for config handling integration. (Hitesh Shah via
+ mahadev)
+
+ AMBARI-900. Add configuration mapping support. (Nate Cole via mahadev)
+
+ AMBARI-895. Need name consistency for metrics. (Tom Beerbower via mahadev)
+
+ AMBARI-893. provide api support for temporal queries. (John Speidel via
+ mahadev)
+
+ AMBARI-897. Operations request object and skeleton management methods.
+ (jitendra)
+
+ AMBARI-894. TestHeartBeatMonitor fails intermittently. (jitendra)
+
+ AMBARI-892. Add puppet executor at the agent to be able to run various
+ commands from the server. (mahadev)
+
+ AMBARI-887. Ability to save configuration. (Nate Cole via mahadev)
+
+ AMBARI-877. Refactor resource provider implementation for changes to
+ management interface. (Tom Beerbower via mahadev)
+
+ AMBARI-876. Put metrics under metrics category. (Tom Beerbower via
+ mahadev)
+
+ AMBARI-890. Add client library option to step6 (Assign slaves) of
+ installer wizard. Also add indicator and popovers for hosts with
+ master component. (Jaimin Jetly via yusaku)
+
+ AMBARI-889. Provide cluster metric graphs on Ambari main dashboard.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-886. Support filters in controller get* apis. (hitesh)
+
+ AMBARI-880. Implement Review Page (Step 8) for the Ambari Installer
+ Wizard. (Jaimin Jetly via yusaku)
+
+ AMBARI-872. Hookup Nagios alerts section in Ambari UI to backend
+ server. (Srimanth Gunturi via yusaku)
+
+ AMBARI-871. Integrate basic set of rest APIs with ambari-web
+ installer wizardi. (Jaimin Jetly via yusaku)
+
+ AMBARI-884. Implement Dashboard/Service summary. (yusaku)
+
+ AMBARI-882. Group-based DataNode/TaskTracker/RegionServer overrides.
+ (yusaku)
+
+ AMBARI-881. Implement Add Hosts Wizard. (yusaku)
+
+ AMBARI-869. Util to deserialize ExecutionCommand. (jitendra)
+
+ AMBARI-874. Fix hostinfo reporting at the server and add a unit test for
+ deserilization for the host information from agent. (mahadev)
+
+ AMBARI-873. Support for multiple objects' updates in controller. (hitesh)
+
+ AMBARI-870. Support metric types other than string (Tom Beerbower via
+ mahadev)
+
+ AMBARI-868. Clean up site.pp generation on the agent and remove the imports
+ in the sample site.pp. (mahadev)
+
+ AMBARI-862. API query against /clusters doesn't return any data.
+ (John Speidel via mahadev)
+
+ AMBARI-866. Add ORM layer for the FSM's in the server. (mahadev)
+
+ AMBARI-853. Add more complete JMX metrics. (Tom Beerbower via mahadev)
+
+ AMBARI-852. Improve REST API functionality regarding query and partial
+ response (John Speidel via mahadev)
+
+ AMBARI-865. Add unit test for action queue on the agent. (mahadev)
+
+ AMBARI-851. Hook up Ganglia property provider. (Tom Beerbower via mahadev)
+
+ AMBARI-863. Fix mvn tests to be able to run the python tests cleanly.
+ (mahadev)
+
+ AMBARI-849. Stage planner implementation. (jitendra)
+
+ AMBARI-860. Remove code that adds fake stages for testing. (jitendra)
+
+ AMBARI-856. Add cluster heatmap. (yusaku)
+
+ AMBARI-855. Create the skeleton for a custom data adapter in Ambari Web.
+ (yusaku)
+
+ AMBARI-854. Serve ambari-web from jetty. (Jaimin Jely via yusaku)
+
+ AMBARI-850. Flatten ExecutionCommand structure. (jitendra)
+
+ AMBARI-848. Various tests for FSM and Controller impl. (hitesh)
+
+ AMBARI-847. Run pyunit tests from maven test target and also autogenerated
+ openssl passphrase. (mahadev)
+
+ AMBARI-845. Fix NPE in the server to be able to run the server api's.
+ (mahadev)
+
+ AMBARI-844. Mock JMX provider for manual tests. (Tom Beerbower via mahadev)
+
+ AMBARI-841. Fix comparison predicates in case where resource does not have
+ property value. (Tom Beerbower via mahadev)
+
+ AMBARI-833. Add missing Path annotation to rest services for
+ put/post/delete. (John Speidel via mahadev)
+
+ AMBARI-838. HACK: Add a thread in server to inject requests for testing.
+ (Jitendra via mahadev)
+
+ AMBARI-835. Update JMXPropertyProvider. (Tom Beerbower via hitesh)
+
+ AMBARI-832. Merge ambari-api with ambari-server (mahadev)
+
+ AMBARI-822. Implement an agent simulator for unit testing. (jitendra)
+
+ AMBARI-829. Add unit tests for ResourceProviderImpl. (Tom Beerbower via
+ mahadev)
+
+ AMBARI-831. Move manifest generation into the ambari agent directory.
+ (mahadev)
+
+ AMBARI-828. Manifest generation for various actions from the server.
+ (mahadev)
+
+ AMBARI-827. Add clusterName to the status of the commands run by the agent.
+ (mahadev)
+
+ AMBARI-824. Provide basic management functionality (create/update) in the
+ rest api (John Speidel via mahadev)
+
+ AMBARI-826. Bug in processing command reports. (jitendra)
+
+ AMBARI-825. Controller layer implementation part 3. (hitesh)
+
+ AMBARI-823. Fix security filter on the server agent ports and remove
+ duplication on servlet contexts for certs signing. (mahadev)
+
+ AMBARI-821. Implement basic service state update and verify flow to
+ ActionManager. (hitesh)
+
+ AMBARI-812. In API , improve partial response support to drill down n levels
+ (John Spiedel)
+
+ AMBARI-791. Add unit tests and java docs for SPI code. (Tom Beerbower)
+
+ AMBARI-820. Remove JAXB dependencies in Server Agent protocol and move to
+ POJO based jackson serializer. (mahadev)
+
+ AMBARI-819. Management controller implemenation work. (hitesh)
+
+ AMBARI-811. Bug fix in jaxb serialization for maps. (jitendra)
+
+ AMBARI-810. Controller layer implementation part 1. (hitesh)
+
+ AMBARI-807. Fix Action scheduler tests because of fsm interface changes.
+ (jitendra)
+
+ AMBARI-806. Remove State object as configs/stack version/running state are
+ handled as standalone entities. (hitesh)
+
+ AMBARI-805. Add requestId tracking objects for management spi. (hitesh)
+
+ AMBARI-803. FSM initial refactoring for eventual live/desired objects. (hitesh)
+
+ AMBARI-800. Hack to add a stage for testing in in-memory db. (jitendra)
+
+ AMBARI-801. Fix heartbeat message from the agent which is causing NPE at the
+ server. (mahadev)
+
+ AMBARI-778. Ensure data flows across all steps in installer wizard.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-799. Prototype for management spi part 3. (hitesh)
+
+ AMBARI-797. Prototype for management spi interface continued. (hitesh)
+
+ AMBARI-795. Fix failing tests for AgentResource and BootStrap. (mahadev)
+
+ AMBARI-793. Make MapReduce, Nagios, and Ganglia optional during cluster
+ install. (yusaku)
+
+ AMBARI-794. Add log4j properties for logging at the server. (mahadev)
+
+ AMBARI-790. OK in registration response. (jitendra)
+
+ AMBARI-787. Registration throws HostNotFoundException for new hosts. (jitendra)
+
+ AMBARI-788. Fix server and agent startup for end to end testing. (mahadev)
+
+ AMBARI-785. Action response unit test. (jitendra)
+
+ AMBARI-783. Fix guice injection in the server. (mahadev)
+
+ AMBARI-784. Add Resource download API on the server. (mahadev)
+
+ AMBARI-781. Registration unit test. (jitendra)
+
+ AMBARI-754. Heartbeat handler: Registration response should query component
+ status. (jitendra)
+
+ AMBARI-755. Heartbeat handler: Update state as reported in heartbeat.
+ (jitendra)
+
+ AMBARI-756. Heartbeat handler: Handle heartbeat timeout. (jitendra)
+
+ AMBARI-767. Add bootstrap script to ssh in parallel and setup agents on a
+ list of hosts. (mahadev)
+
+ AMBARI-764. Integrate REST API (Tom Beerbower via mahadev)
+
+ AMBARI-762. Implement Confirm Hosts page for Ambari installer
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-763. Implement Installer Step 6 (Assign Slaves). (yusaku)
+
+ AMBARI-760. Fix injection in data access objects to use guice provider.
+ (mahadev)
+
+ AMBARI-759. Add puppet scripts to the agent for configuring/installing
+ various services and add security aspects to api's and server/agent.
+ (mahadev)
+
+ AMBARI-749. Complete Java side implementation of bootstrapping agent hosts.
+ (mahadev)
+
+ AMBARI-757. Implement Installer Step 4 (Select Services). (yusaku)
+
+ AMBARI-751. Re-structure servicecomponenthost fsm layout. (hitesh)
+
+ AMBARI-732. Action scheduler unit tests. (jitendra)
+
+ AMBARI-739. Cluster fsm implementation. (hitesh)
+
+ AMBARI-738. s/Node/Host/g. (hitesh)
+
+ AMBARI-737. ServiceComponentNode FSM implementation. (hitesh)
+
+ AMBARI-722. Action scheduler implementation. (jitendra)
+
+ AMBARI-733. Add Jersey Resource for BootStrapping and JAXB elements for API
+ entities. (mahadev)
+
+ AMBARI-730. Add unit tests for jersey apis on the server. (mahadev)
+
+ AMBARI-725. Add commandstatus/result/error objects into the rest API between
+ server and agent. (mahadev)
+
+ AMBARI-723. Implement Installer Welcome page and Install Options page
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-726. ORM-based data access layer for new design (Jaimin Jetly via hitesh)
+
+ AMBARI-728. Initial work on ServiceComponentNode FSM. (hitesh)
+
+ AMBARI-724. Add tabs, dynamic form generation, validation errors, and info
+ popovers for Customize Services page in Installer (yusaku)
+
+ AMBARI-714. Job FSM Impl and tests. (hitesh)
+
+ AMBARI-721. Remove Hardwareprofile class since its not needed anymore.
+ (mahadev)
+
+ AMBARI-720. Tweak basic styles for Installer. (yusaku)
+
+ AMBARI-719. Enable Responsive Design. (yusaku)
+
+ AMBARI-716. Add back TestNodeImpl and fix memory types and disk info
+ serialization. (mahadev)
+
+ AMBARI-717. Starter implementation for Installer Customize Services page.
+ Stylize top nav and implement static footer. Stylize login page. (yusaku)
+
+ AMBARI-711. Create utility functions related to localStorage for first two
+ steps: cluster name and Install options. Also develop view logic with
+ preliminary validations for these two steps. (Jaimin Jetly via yusaku)
+
+ AMBARI-715. Integrate domain objects and Rest serialized objects. (mahadev)
+
+ AMBARI-713. Initial work on Job FSM. (hitesh)
+
+ AMBARI-712. Action manager skeleton. (jitendra)
+
+ AMBARI-710. Basic registration and heartbeat protocol implementation between
+ the server and the agent. (mahadev)
+
+ AMBARI-709. Getting hardware info on disks/cpu/others using facter and using
+ it during registeration. (mahadev)
+
+ AMBARI-707. More work on Node FSM and additional tests/cleanup. (hitesh)
+
+ AMBARI-706. Basic tests for Node FSM. (hitesh)
+
+ AMBARI-705. Initial work on Node FSM. (hitesh)
+
+ AMBARI-703. Heartbeat handler classes. (jitendra)
+
+ AMBARI-702. Add skeleton for Ambari agent that talks to the server and
+ collects information for host. (mahadev)
+
+ AMBARI-696. Add interface for ActionManager to access live state. (hitesh)
+
+ AMBARI-698. Add a simple server and artifact generation to run a server with
+ a simple api check. (mahadev)
+
+ AMBARI-697. Ambari Web (browser-based UI) skeleton. (Jaimin Jetly and yusaku)
+
+ AMBARI-695. More basic class restructuring for new design. (hitesh)
+
+ AMBARI-694. Class to encapsulate stage. (jitendra)
+
+ AMBARI-691. More basic classes for new design. (hitesh)
+
+ AMBARI-693. Classes for request objects. (jitendra)
+
+ AMBARI-685. Basic classes. (hitesh via jitendra)
+
+ AMBARI-676. Seperate directory for ambari-server. (jitendra)
+
+ IMPROVEMENTS
+
+ AMBARI-1053. Dashboard page loads very slow due to hosts?fields=* API call
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1051. Dashboard page takes long time to load. (Srimanth Gunturi via
+ yusaku)
+
+ AMBARI-1041. Additional metrics need to be added to Heatmap UI. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1040. Cluster heatmap: green should always mean "good". (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1039. Improve Nagios alerts time display. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1036. Service Info/Quick Links do not display external hostnames.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1035. Aggregate creation of multiple services and assignment of host
+ to cluster. (Jaimin Jetly via yusaku)
+
+ AMBARI-1034. Metric Charts - display local time rather than UTC.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1033. Nagios and Ganglia links should use public host names in URLs.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1030. Metrics links in web ui should link to Ganglia UI. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1025. Display total install and start services time on summary page
+ and polish summary page ui. (Jaimin Jetly via yusaku)
+
+ AMBARI-1023. Dashboard page should handle API sending JSON as strings and
+ object. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1011. Create 2 missing HDFS service graphs. (Srimanth Gunturi via
+ yusaku)
+
+ AMBARI-1003. Nagios sections should use backend API to populate. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1062. Convert Apache license header comment style in Handlebars files
+ to Handlebars comments rather than JavaScript comments. (yusaku)
+
+ AMBARI-1061. Data loading refactoring for cluster management. (yusaku)
+
+ AMBARI-1060. Data loading for App Browser. (yusaku)
+
+ AMBARI-993. Hook up login with server authentication. (yusaku)
+
+ AMBARI-1059. Refactor cluster management. (yusaku)
+
+ AMBARI-1058. Implement data loading. (yusaku)
+
+ AMBARI-956. On unavailability of non-master components, host with least
+ number of master components should install all slave and client components.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-990. Refactor App Browser. (yusaku)
+
+ AMBARI-979. More refactoring of App Browser code. (yusaku)
+
+ AMBARI-947. Make it easier to test Deploy (Install, Start + Test) step
+ of the wizard. (yusaku)
+
+ AMBARI-978. Refactor App Browser code. (yusaku)
+
+ AMBARI-977. Refactor Wizard and Cluster Management code. (yusaku)
+
+ AMBARI-941. More refactoring of Wizards in Ambari Web. (yusaku)
+
+ AMBARI-919. Partial refactoring and consolidation of code for various
+ wizards. (yusaku)
+
+ AMBARI-918. Update styles in Cluster Management. (yusaku)
+
+ AMBARI-917. Update layout and flow for App Browser. (yusaku)
+
+ AMBARI-888. Add more tests for controller implementation. (hitesh)
+
+ AMBARI-891. Initial work to refactor the Wizards in Ambari Web. (yusaku)
+
+ AMBARI-883. Improve user interactions on Confirm Hosts page of the
+ Installer. (yusaku)
+
+ AMBARI-859. Tighten up the layout for the Install page of the Installer.
+ (yusaku)
+
+ AMBARI-857. Refactor Install Options page for the Install Wizard. (yusaku)
+
+ OPTIMIZATIONS
+
+ BUG FIXES
+
+ AMBARI-1046. Heatmap with no numbers on the hover. (Srimanth Gunturi via
+ yusaku)
+
+ AMBARI-1045. Service summary sections have incorrect values displayed.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1042. Heatmap UI fluctuates between white and green colors
+ intermittently. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1032. Host hover in cluster heatmap showing mock data. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1028. MapReduce & HDFS summaries should use ServiceComponentInfo
+ values. (Srimanth Gunturi via yusaku)
+
+ AMBARI-1017. Alerts not showing up in Ambari UI due to model refactoring.
+ (Srimanth Gunturi via yusaku)
+
+ AMBARI-1013. Host metrics charts should use live data. (Srimanth Gunturi
+ via yusaku)
+
+ AMBARI-1009. Cluster level graphs need to use API for data. (Srimanth
+ Gunturi via yusaku)
+
+ AMBARI-1064. App Browser fixes. (yusaku)
+
+ AMBARI-995. Deploy logs not shown for failed tasks. (yusaku)
+
+ AMBARI-992. Logout does not clean application state properly. (yusaku)
+
+ AMBARI-957. Adding a host whose hostname is the same as the one the user
+ is accessing Ambari Web with breaks the Installer. (yusaku)
+
+ AMBARI-953. Fix navigation issues in installer wizard due to regression.
+ (Jaimin Jetly via yusaku)
+
+ AMBARI-899. Use slf4j-api 1.5.5 rather than 1.6.6. (yusaku)
+
+ AMBARI-902. Fix ZooKeeper badge allocation logic for single host and
+ muliple hosts installation in step5 installer wizard. (Jaimin Jetly via
+ yusaku)
+
+ AMBARI-896. Resolve all navigation related issues for Step6 (Slave and
+ Client component) of installer wizard. (Jaimin Jetly via yusaku)
+
+ AMBARI-914. Fix issues related to Slave Component Group in Installer.
+ (yusaku)
+
+ AMBARI-909. Pass correct cluster info to Action Manager. (hitesh)
+
+ AMBARI-904. Ensure state changes only happen after actionmanager persists
+ actions. (hitesh)
+
+ AMBARI-905. Fix puppet site creation with flattening of execution commands
+ send from the server. (mahadev)
+
+ AMBARI-885. Fix miscellaneous issues related to Ambari Web. (yusaku)
+
+ AMBARI-879. Installer skips Confirm Hosts page of the wizard when testing
+ locally without Ambari Server. (yusaku)
+
+ AMBARI-878. Various tests for FSM, controller and state objects. (hitesh)
+
+ AMBARI-858. Installer -> Select Services page: warning popups are no longer
+ appearing. (yusaku)
+
+ AMBARI-846. Select Masters Page: make ZooKeeper addition/removal UI more
+ organized. (Jaimin Jetly via yusaku)
+
+ AMBARI-840. Hitting browser refresh should not clear present step data that
+ had already been persisted to local DB. (Jaimin Jetly via yusaku)
+
+ AMBARI-843. Fix more null pointers for partial request objects. (hitesh)
+
+ AMBARI-842. Fix null point exception during adding of hosts to cluster. (hitesh)
+
+ AMBARI-839. Temporary fix for server start order. (hitesh)
+
+ AMBARI-837. Fix basic injection issues for controller impl. (hitesh)
+
+ AMBARI-836. Fix generation of requestId to be unique across restarts. (hitesh)
+
+ AMBARI-834. Use RoleCommand instead of ServiceComponentHostEventType for HostAction
+ in Controller. (hitesh)
+
+ AMBARI-830. Various fixes and tests for controller implementation. (hitesh)
+
+ AMBARI-808. Handle appropriate start/stop/install/.. events at their respective
+ failed states. (hitesh)
+
+ AMBARI-798. Fix import issue due to move of Predicate class. (hitesh)
+
+ AMBARI-780. Make FSM related changes for heartbeat handler. (hitesh)
+
+ AMBARI-774. Renable and fix AgentResourceTest. (mahadev)
+
+ AMBARI-773. Change Host FSM as per new requirements of heartbeat handler. (hitesh)
+
+ AMBARI-753. Fix broken compile as a result of re-factor of FSM layout. (hitesh)
+
+ AMBARI-752. Add missing license header to TestServiceComponentHostState. (hitesh)
+
+ AMBARI-718. Fix installer navigation. (yusaku)
+
+ AMBARI-684. Remove non-required dependencies from pom files (hitesh via jitendra)
+
+ AMBARI-680. Fix pom structure. (hitesh)
+
+Pre-AMBARI-666 changes.
+
INCOMPATIBLE CHANGES
NEW FEATURES
View
67 KEYS
@@ -65,3 +65,70 @@ q8NjvW09GT7Ls9llrf4IXG8kjX2PZRIfaGSa556PJjdD3xJWgTEP78i0zJTWQLku
IWC8DKsT+np6ZGfoE58=
=zb0j
-----END PGP PUBLIC KEY BLOCK-----
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: SKS 1.1.0
+
+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
+7kmI6Gh95bLf1om+Bc8ajpm9Zsw=
+=OYSX
+-----END PGP PUBLIC KEY BLOCK-----
View
218 LICENSE.txt
@@ -201,203 +201,33 @@
See the License for the specific language governing permissions and
limitations under the License.
-APACHE HCATALOG SUBCOMPONENTS:
-The Apache HCatalog project contains subcomponents with separate copyright
+APACHE AMBARI SUBCOMPONENTS:
+
+The Apache Ambari project contains subcomponents with separate copyright
notices and license terms. Your use of the source code for the these
subcomponents is subject to the terms and conditions of the following
licenses.
-For the ANTLR libraries:
-
-Copyright (c) 2003-2008, Terence Parr
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer. Redistributions
-in binary form must reproduce the above copyright notice, this list of
-conditions and the following disclaimer in the documentation and/or
-other materials provided with the distribution. Neither the name of
-the author nor the names of its contributors may be used to endorse or
-promote products derived from this software without specific prior
-written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-For the StringTemplate library:
-
-Copyright (c) 2008, Terence Parr
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer. Redistributions
-in binary form must reproduce the above copyright notice, this list of
-conditions and the following disclaimer in the documentation and/or
-other materials provided with the distribution. Neither the name of
-the author nor the names of its contributors may be used to endorse or
-promote products derived from this software without specific prior
-written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-For the ASM library:
-
-Copyright (c) 2000-2005 INRIA, France Telecom
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holders nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGE.
-
-
-For the org.json library:
-
-Copyright (c) 2002 JSON.org
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-The Software shall be used for Good, not Evil.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-
-For the JLine library:
-
-Copyright (c) 2002-2006, Marc Prud'hommeaux <mwp1@cornell.edu>
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or
-without modification, are permitted provided that the following
-conditions are met:
-
-Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-
-Redistributions in binary form must reproduce the above copyright
-notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with
-the distribution.
-
-Neither the name of JLine nor the names of its contributors
-may be used to endorse or promote products derived from this
-software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
-BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
-OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
-IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
-OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-For the SLF4J library:
-
-Copyright (c) 2004-2008 QOS.ch
-All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-For the DataNucleus library:
-
-DataNucleus is licensed under the Apache 2 license, as given above.
-
-For the Guava library:
-
-Guava is licensed under the Apache 2 license, as given above.
-
-For the JavaEWAH library:
-
-JavaEWAH is licensed under the Apache 2 license, as given above.
+For the stdlib in puppet modules
+
+Copyright (C) 2011 Puppet Labs Inc
+
+and some parts:
+
+Copyright (C) 2011 Krzysztof Wilczynski
+
+Puppet Labs can be contacted at: info@puppetlabs.com
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
View
23 NOTICE.txt
@@ -1,22 +1,11 @@
-Apache Ambari
-Copyright 2012 The Apache Software Foundation
+Apache [2012]
+Copyright [2012] The Apache Software Foundation
This product includes software developed by The Apache Software
Foundation (http://www.apache.org/).
-This product includes YUI (http://yuilibrary.com - BSD License)
-Copyright (c) 2012, Yahoo! Inc.
+Component stdlib in puppet modules are under the following copyright:
+Copyright (C) 2011 Puppet Labs Inc
+and some parts:
+Copyright (C) 2011 Krzysztof Wilczynski
-This product includes jQuery (http://jquery.org - MIT license)
-Copyright (c) 2012, John Resig.
-
-This product includes fonts/images from iconic hmc/fonts/iconic_* (http://somerandomdude.com/work/iconic - Creative Commons Share Alike 3.0) by P.J. Onori.
-
-This product includes jqgrid (http://www.triand.com/)
-Copyright (c) 2007-2012 jQuery Grid Plugin - jqGrid
-
-This product includes raphael (http://raphaeljs.com/)
-Copyright (c) 2008 Dmitry Baranovskiy
-
-This product includes Sinon.JS (http://sinonjs.org - BSD license)
-Copyright (c) 2010 - 2012, Christian Johansen.
View
49 README.txt
@@ -1,49 +0,0 @@
-Ambari
-======
-
-Apache Ambari is a web application for installing, managing, and monitoring
-Apache Hadoop clusters.
-The set of Hadoop components that are currently supported by Ambari includes:
-
- Apache HBase
- Apache HCatalog
- Apache Hadoop HDFS
- Apache Hive
- Apache Hadoop MapReduce
- Apache Oozie
- Apache Pig
- Apache Sqoop
- Apache Templeton
- Apache Zookeeper
-
-Ambari's primary audience is system administrators responsible for managing
-Hadoop clusters.
-
-Ambari allows them to:
-
- Easily Install a Hadoop Cluster
- Ambari provides an easy-to-use, step-by-step wizard for installing
- Hadoop services across any number of nodes.
- Ambari leverages Puppet to perform installation and configuration of
- Hadoop services for the cluster.
-
- Manage a Hadoop Cluster
- Ambari provides central management for starting, stopping, and
- reconfiguring Hadoop services across the entire cluster.
-
- Monitor a Hadoop Cluster
- Ambari provides a dashboard for monitoring health and status of the
- Hadoop cluster. Ambari leverages Ganglia to render graphs.
- Ambari sends email alerts when your attention is needed (e.g., a node
- goes down, remaining disk space is low, etc).
- Ambari leverages Nagios to monitor and trigger alerts.
-
-In the future, Ambari will allow third-party tool developers to integrate
-Hadoop cluster management and monitoring capabilities via its RESTful interface.
-
-
-Resources
-=========
-
- - Ambari project website: http://incubator.apache.org/ambari
- - Ambari installation guide: http://incubator.apache.org/ambari/install.html
View
25 ambari-agent/conf/unix/ambari-agent
@@ -0,0 +1,25 @@
+# description: ambari-agent daemon
+# processname: ambari-agent
+
+# /etc/init.d/ambari-agent
+
+case "$1" in
+ start)
+ echo -e "Starting ambari-agent"
+ python /usr/lib/python2.6/site-packages/ambari_agent/main.py
+ ;;
+ stop)
+ echo -e "Stopping ambari-agent"
+ python /usr/lib/python2.6/site-packages/ambari_agent/main.py stop
+ ;;
+ restart)
+ echo -e "Restarting ambari-agent"
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "Usage: /usr/sbin/ambari-agent {start|stop|restart}"
+ exit 1
+esac
+
+exit 0
View
28 ambari-agent/conf/unix/ambari.ini
@@ -0,0 +1,28 @@
+[server]
+hostname=ambari-rpm.cybervisiontech.com.ua
+url_port=4080
+secured_url_port=8443
+
+[agent]
+prefix=/tmp/ambari-agent
+
+[stack]
+installprefix=/var/ambari/
+
+[puppet]
+puppetmodules=/var/lib/ambari-agent/puppet
+puppet_home=/usr/bin/puppet
+facter_home=/usr/bin/facter
+
+[command]
+maxretries=2
+sleepBetweenRetries=1
+
+[security]
+keysdir=/var/lib/ambari-agent/keys
+server_crt=ca.crt
+passphrase_env_var_name=AMBARI_PASSPHRASE
+
+[services]
+serviceToPidMapFile=/usr/lib/python2.6/site-packages/ambari_agent/servicesToPidNames.dict
+pidLookupPath=/var/run/
View
182 ambari-agent/pom.xml
@@ -0,0 +1,182 @@
+<?xml version="1.0"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+ <parent>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-project</artifactId>
+ <version>1.0.3-SNAPSHOT</version>
+ <relativePath>../ambari-project</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-agent</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0.3-SNAPSHOT</version>
+ <name>Ambari Agent</name>
+ <description>Ambari Agent</description>
+ <properties>
+ <final.name>${project.artifactId}-${project.version}</final.name>
+ <package.release>1</package.release>
+ <package.prefix>/usr</package.prefix>
+ <package.conf.dir>/etc/ambari</package.conf.dir>
+ <package.log.dir>/var/log/ambari</package.log.dir>
+ <package.pid.dir>/var/run/ambari</package.pid.dir>
+ <skipTests>false</skipTests>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ <descriptors>
+ <descriptor>src/packages/tarball/all.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>build-tarball</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <configuration>
+ <executable>python2.6</executable>
+ <workingDirectory>src/test/python</workingDirectory>
+ <arguments>
+ <argument>unitTests.py</argument>
+ </arguments>
+ <environmentVariables>
+ <PYTHONPATH>src/main/python/ambari_agent:$PYTHONPATH</PYTHONPATH>
+ </environmentVariables>
+ <skip>${skipTests}</skip>
+ </configuration>
+ <id>python-test</id>
+ <phase>test</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ <execution>
+ <configuration>
+ <executable>python2.6</executable>
+ <workingDirectory>target/ambari-agent-${project.version}</workingDirectory>
+ <arguments>
+ <argument>${project.basedir}/src/main/python/setup.py</argument>
+ <argument>clean</argument>
+ <argument>bdist_dumb</argument>
+ </arguments>
+ <environmentVariables>
+ <PYTHONPATH>target/ambari-agent-${project.version}:$PYTHONPATH</PYTHONPATH>
+ </environmentVariables>
+ </configuration>
+ <id>python-package</id>
+ <phase>package</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rpm-maven-plugin</artifactId>
+ <version>2.0.1</version>
+ <executions>
+ <execution>
+ <phase>none</phase>
+ <goals>
+ <goal>rpm</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <copyright>2012, Apache Software Foundation</copyright>
+ <group>Development</group>
+ <description>Maven Recipe: RPM Package.</description>
+ <requires>
+ <require>puppet = 2.7.9</require>
+ </requires>
+ <mappings>
+ <mapping>
+ <directory>/usr/lib/python2.6/site-packages/ambari_agent</directory>
+ <sources>
+ <source>
+ <location>${project.build.directory}/${project.artifactId}-${project.version}/ambari_agent</location>
+ </source>
+ </sources>
+ </mapping>
+ <mapping>
+ <directory>/var/lib/${project.artifactId}/puppet</directory>
+ <sources>
+ <source>
+ <location>src/main/puppet</location>
+ </source>
+ </sources>
+ </mapping>
+ <mapping>
+ <directory>/etc/ambari</directory>
+ <sources>
+ <source>
+ <location>conf/unix/ambari.ini</location>
+ </source>
+ </sources>
+ </mapping>
+ <mapping>
+ <directory>/usr/sbin</directory>
+ <filemode>744</filemode>
+ <sources>
+ <source>
+ <location>conf/unix/ambari-agent</location>
+ </source>
+ </sources>
+ </mapping>
+ <mapping>
+ <directory>/var/run/ambari</directory>
+ </mapping>
+ <mapping>
+ <directory>/var/lib/${project.artifactId}/keys</directory>
+ </mapping>
+ <mapping>
+ <directory>/var/log/ambari</directory>
+ </mapping>
+ <mapping>
+ <directory>/var/ambari</directory>
+ </mapping>
+ <!-- -->
+ </mappings>
+ </configuration>
+ </plugin>
+ </plugins>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh-external</artifactId>
+ </extension>
+ </extensions>
+ </build>
+</project>
View
48 ambari-agent/src/main/puppet/manifestloader/site.pp
@@ -0,0 +1,48 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+
+class manifestloader () {
+ file { '/etc/puppet/agent/modules.tgz':
+ ensure => present,
+ source => "puppet:///modules/catalog/modules.tgz",
+ mode => '0755',
+ }
+
+ exec { 'untar_modules':
+ command => "rm -rf /etc/puppet/agent/modules ; tar zxf /etc/puppet/agent/modules.tgz -C /etc/puppet/agent/ --strip-components 3",
+ path => '/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin'
+ }
+
+ exec { 'puppet_apply':
+ command => "sh /etc/puppet/agent/modules/puppetApply.sh",
+ timeout => 1800,
+ path => '/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin',
+ logoutput => "true"
+ }
+
+ File['/etc/puppet/agent/modules.tgz'] -> Exec['untar_modules'] -> Exec['puppet_apply']
+}
+
+node default {
+ stage{1 :}
+ class {'manifestloader': stage => 1}
+}
+
View
64 ambari-agent/src/main/puppet/modules/configgenerator/manifests/configfile.pp
@@ -0,0 +1,64 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+
+#
+# Generates xml configs from the given key-value hash maps
+#
+# Config file format:
+#
+# <configuration>
+# <property>
+# <name>name1</name><value>value1</value>
+# </property>
+# ..
+# <property>
+# <name>nameN</name><value>valueN</value>
+# </property>
+# </configuration>
+#
+# Params:
+# - configname - name of the config file (class title by default)
+# - modulespath - modules path ('/etc/puppet/modules' by default)
+# - module - module name
+# - properties - set of the key-value pairs (puppet hash) which corresponds to property name - property value pairs of config file
+#
+# Note: Set correct $modulespath in the configgenerator (or pass it as parameter)
+#
+
+define configgenerator::configfile ($modulespath='/etc/puppet/modules', $filename, $module, $configuration) {
+ $configcontent = inline_template('<configuration>
+ <% configuration.each do |key,value| -%>
+ <property>
+ <name><%=key %></name>
+ <value><%=value %></value>
+ </property>
+ <% end -%>
+</configuration>')
+
+
+debug("Generating config: ${modulespath}/${filename}")
+
+file {"${modulespath}/${filename}":
+ ensure => present,
+ content => $configcontent,
+ path => "${modulespath}/${filename}",
+}
+}
View
23 ambari-agent/src/main/puppet/modules/configgenerator/manifests/init.pp
@@ -0,0 +1,23 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+
+class configgenerator() {
+}
View
0  ...dp-dashboard/manifests/dashboard/service_check.pp → ...dp-dashboard/manifests/dashboard/service_check.pp
File renamed without changes
View
0  hmc/puppet/modules/hdp-dashboard/manifests/init.pp → ...in/puppet/modules/hdp-dashboard/manifests/init.pp
File renamed without changes
View
0  hmc/puppet/modules/hdp-dashboard/manifests/params.pp → .../puppet/modules/hdp-dashboard/manifests/params.pp
File renamed without changes
View
0  ...ashboard/templates/cluster_configuration.json.erb → ...ashboard/templates/cluster_configuration.json.erb
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/checkGmetad.sh → ...n/puppet/modules/hdp-ganglia/files/checkGmetad.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/checkGmond.sh → ...in/puppet/modules/hdp-ganglia/files/checkGmond.sh 100755 → 100644
File renamed without changes
View
0  ...uppet/modules/hdp-ganglia/files/checkRrdcached.sh → ...uppet/modules/hdp-ganglia/files/checkRrdcached.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/gmetad.init → ...main/puppet/modules/hdp-ganglia/files/gmetad.init 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/gmetadLib.sh → ...ain/puppet/modules/hdp-ganglia/files/gmetadLib.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/gmond.init → .../main/puppet/modules/hdp-ganglia/files/gmond.init 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/gmondLib.sh → ...main/puppet/modules/hdp-ganglia/files/gmondLib.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/rrdcachedLib.sh → .../puppet/modules/hdp-ganglia/files/rrdcachedLib.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/setupGanglia.sh → .../puppet/modules/hdp-ganglia/files/setupGanglia.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/startGmetad.sh → ...n/puppet/modules/hdp-ganglia/files/startGmetad.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/startGmond.sh → ...in/puppet/modules/hdp-ganglia/files/startGmond.sh 100755 → 100644
File renamed without changes
View
0  ...uppet/modules/hdp-ganglia/files/startRrdcached.sh → ...uppet/modules/hdp-ganglia/files/startRrdcached.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/stopGmetad.sh → ...in/puppet/modules/hdp-ganglia/files/stopGmetad.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/files/stopGmond.sh → ...ain/puppet/modules/hdp-ganglia/files/stopGmond.sh 100755 → 100644
File renamed without changes
View
0  ...puppet/modules/hdp-ganglia/files/stopRrdcached.sh → ...puppet/modules/hdp-ganglia/files/stopRrdcached.sh 100755 → 100644
File renamed without changes
View
0  ...ppet/modules/hdp-ganglia/files/teardownGanglia.sh → ...ppet/modules/hdp-ganglia/files/teardownGanglia.sh 100755 → 100644
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/manifests/config.pp → ...in/puppet/modules/hdp-ganglia/manifests/config.pp
File renamed without changes
View
0  .../hdp-ganglia/manifests/config/generate_monitor.pp → .../hdp-ganglia/manifests/config/generate_monitor.pp
File renamed without changes
View
0  ...s/hdp-ganglia/manifests/config/generate_server.pp → ...s/hdp-ganglia/manifests/config/generate_server.pp
File renamed without changes
View
0  ...hdp-ganglia/manifests/hdp-gmetad/service_check.pp → ...hdp-ganglia/manifests/hdp-gmetad/service_check.pp
File renamed without changes
View
0  .../hdp-ganglia/manifests/hdp-gmond/service_check.pp → .../hdp-ganglia/manifests/hdp-gmond/service_check.pp
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/manifests/init.pp → ...main/puppet/modules/hdp-ganglia/manifests/init.pp
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/manifests/monitor.pp → ...n/puppet/modules/hdp-ganglia/manifests/monitor.pp
File renamed without changes
View
0  ...dules/hdp-ganglia/manifests/monitor_and_server.pp → ...dules/hdp-ganglia/manifests/monitor_and_server.pp
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/manifests/params.pp → ...in/puppet/modules/hdp-ganglia/manifests/params.pp
File renamed without changes
View
0  hmc/puppet/modules/hdp-ganglia/manifests/server.pp → ...in/puppet/modules/hdp-ganglia/manifests/server.pp
File renamed without changes
View
0  ...es/hdp-ganglia/templates/gangliaClusters.conf.erb → ...es/hdp-ganglia/templates/gangliaClusters.conf.erb
File renamed without changes
View
0  ...t/modules/hdp-ganglia/templates/gangliaEnv.sh.erb → ...t/modules/hdp-ganglia/templates/gangliaEnv.sh.erb
File renamed without changes
View
0  ...t/modules/hdp-ganglia/templates/gangliaLib.sh.erb → ...t/modules/hdp-ganglia/templates/gangliaLib.sh.erb 100755 → 100644
File renamed without changes
View
0  ...puppet/modules/hdp-hadoop/files/checkForFormat.sh → ...puppet/modules/hdp-hadoop/files/checkForFormat.sh
File renamed without changes
View
56 ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/client.pp
@@ -0,0 +1,56 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+class hdp-hadoop::client(
+ $service_state = $hdp::params::cluster_client_state
+) inherits hdp-hadoop::params
+{
+ $hdp::params::service_exists['hdp-hadoop::client'] = true
+
+ Hdp-hadoop::Common<||>{service_states +> $service_state}
+
+ if ($hdp::params::use_32_bits_on_slaves == true) {
+ Hdp-hadoop::Package<||>{include_32_bit => true}
+ Hdp-hadoop::Configfile<||>{sizes +> 32}
+ } else {
+ Hdp-hadoop::Package<||>{include_64_bit => true}
+ Hdp-hadoop::Configfile<||>{sizes +> 64}
+ }
+
+ if ($service_state == 'no_op') {
+ } elsif ($service_state in ['installed_and_configured','uninstalled']) {
+ #adds package, users and directories, and common hadoop configs
+ include hdp-hadoop::initialize
+
+ if ( ($service_state == 'installed_and_configured') and
+ ($security_enabled == true) and ($kerberos_install_type == "AMBARI_SET_KERBEROS") ) {
+ $masterHost = $kerberos_adminclient_host[0]
+ hdp::download_keytab { 'hadoop_client_ambari_qa_keytab' :
+ masterhost => $masterHost,
+ keytabdst => "${$keytab_path}/ambari_qa.headless.keytab",
+ keytabfile => 'ambari_qa.headless.keytab',
+ owner => 'ambari_qa',
+ hostnameInPrincipals => 'no'
+ }
+ }
+ } else {
+ hdp_fail("TODO not implemented yet: service_state = ${service_state}")
+ }
+}
View
0  hmc/puppet/modules/hdp-hadoop/manifests/datanode.pp → ...n/puppet/modules/hdp-hadoop/manifests/datanode.pp
File renamed without changes
View
0  ...odules/hdp-hadoop/manifests/hdfs/copyfromlocal.pp → ...odules/hdp-hadoop/manifests/hdfs/copyfromlocal.pp
File renamed without changes
View
0  ...et/modules/hdp-hadoop/manifests/hdfs/directory.pp → ...et/modules/hdp-hadoop/manifests/hdfs/directory.pp
File renamed without changes
View
0  ...odules/hdp-hadoop/manifests/hdfs/service_check.pp → ...odules/hdp-hadoop/manifests/hdfs/service_check.pp
File renamed without changes
View
286 ambari-agent/src/main/puppet/modules/hdp-hadoop/manifests/init.pp
@@ -0,0 +1,286 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+#singleton for use with <||> form so that namenode, datanode, etc can pass state to hdp-hadoop and still use include
+define hdp-hadoop::common(
+ $service_states = []
+)
+{
+ class { 'hdp-hadoop':
+ service_states => $service_states
+ }
+ anchor{'hdp-hadoop::common::begin':} -> Class['hdp-hadoop'] -> anchor{'hdp-hadoop::common::end':}
+}
+
+class hdp-hadoop::initialize()
+{
+ if ($hdp::params::component_exists['hdp-hadoop'] == true) {
+ } else {
+ $hdp::params::component_exists['hdp-hadoop'] = true
+ }
+ hdp-hadoop::common { 'common':}
+ anchor{'hdp-hadoop::initialize::begin':} -> Hdp-hadoop::Common['common'] -> anchor{'hdp-hadoop::initialize::end':}
+
+# Configs generation
+
+debug('##Configs generation for hdp-hadoop')
+
+
+ if has_key($configuration, 'mapred-queue-acls') {
+ configgenerator::configfile{'mapred-queue-acls':
+ modulespath => $hdp-hadoop::params::conf_dir,
+ filename => 'mapred-queue-acls.xml',
+ module => 'hdp-hadoop',
+ configuration => $configuration['mapred-queue-acls']
+ }
+ }
+
+ if has_key($configuration, 'hadoop-policy') {
+ configgenerator::configfile{'hadoop-policy':
+ modulespath => $hdp-hadoop::params::conf_dir,
+ filename => 'hadoop-policy.xml',
+ module => 'hdp-hadoop',
+ configuration => $configuration['hadoop-policy']
+ }
+ }
+
+ if has_key($configuration, 'core-site') {
+ configgenerator::configfile{'core-site':
+ modulespath => $hdp-hadoop::params::conf_dir,
+ filename => 'core-site.xml',
+ module => 'hdp-hadoop',
+ configuration => $configuration['core-site']
+ }
+ }
+
+ if has_key($configuration, 'mapred-site') {
+ configgenerator::configfile{'mapred-site':
+ modulespath => $hdp-hadoop::params::conf_dir,
+ filename => 'mapred-site.xml',
+ module =>