crowbar/barclamp-clouderamanager — pull request #117 by Paul-Webster (2013-05-15 16:05:19+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
* Dropped the API version back to v2 because the v3 API has enhanced functional requirements
which impact our RESTful API client code implementation (e.g. CM role groups must now be used
when running at the v3 level) The API client needs some work in order to support this
functionality (TBD). The enhanced v3 feature set is not required for this release and the v2 API
maintains backwards compatibility with our RESTful client code implementation.
* Code debugging/fixes in regards to setting up service level configuration parameters
(Required to get the base HDFS/MAPR services running).
* 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.
* Diffs will be big due to the code reallocation.

.../clouderamanager/attributes/default.rb | 2 +-
.../clouderamanager/libraries/api_client.rb | 33 +++-
chef/cookbooks/clouderamanager/libraries/cms.rb | 7 +-
chef/cookbooks/clouderamanager/libraries/hosts.rb | 15 +-
chef/cookbooks/clouderamanager/libraries/roles.rb | 4 +-
.../clouderamanager/libraries/services.rb | 143 +++++++------
chef/cookbooks/clouderamanager/libraries/types.rb | 21 +-
chef/cookbooks/clouderamanager/recipes/cm-api.rb | 224 +++++++++++++-------
.../clouderamanager/recipes/hadoop-setup.rb | 22 ++
.../crowbar/bc-template-clouderamanager.json | 2 +-
10 files changed, 300 insertions(+), 173 deletions(-)

Crowbar-Pull-ID: 2fa93fe1679c0909016db51fa11c7696afa159ef

Crowbar-Release: pebbles