crowbar/barclamp-clouderamanager — pull request #124 by Paul-Webster (2013-06-03 21:20:26+00:00)
Title: Hadoop 2.3/pebbles/RHEL 6.4 - CM API dev work - Submitter: Paul Webster  Reviewer: Vinayak Ponangi [1/1]

Hadoop 2.3/pebbles/RHEL 6.4 - CM API dev work - Submitter: Paul Webster Reviewer: Vinayak Ponangi
* Exposed the service_start, service_stop, and service_restart method calls from the ApiResource parent class.
* Correct a configuration issue with cm-agent startup when "deployment_type=auto".
* Debugged and fixed the HDFS file system formatting code in cm-api.rb.
* Debugged and fixed the HDFS service startup code in cm-api.rb.
* Updated the cm-agent configuration template (new parcel related config param).
* All code tested at the unit and system level on a live 8 node Hadoop cluster.
* CM_API code execution is still disabled by default via dev mode flag - "deployment_type=manual".
It will remain that way until the functional aspects of CB/API execution is fully debugged.

.../clouderamanager/libraries/api_client.rb | 24 +++++++++
.../clouderamanager/libraries/services.rb | 16 +++---
chef/cookbooks/clouderamanager/libraries/types.rb | 11 ++--
chef/cookbooks/clouderamanager/recipes/cm-agent.rb | 47 +++++++++++++++----
chef/cookbooks/clouderamanager/recipes/cm-api.rb | 51 +++++++++++---------
.../templates/default/cm-agent-config.erb | 12 ++++-
6 files changed, 114 insertions(+), 47 deletions(-)

Crowbar-Pull-ID: 74e8e060e9be2d27a33d1011fef80249ff2023ed

Crowbar-Release: pebbles