Hadoop 2.3/pebbles/RHEL 6.4 - CM API dev work - Submitter: Paul Webster  Reviewer: Jim Clement [1/1]

Hadoop 2.3/pebbles/RHEL 6.4 - CM API dev work - Submitter: Paul Webster  Reviewer: Jim Clement
   * Reworked the service level control layer (services.rb) so it is
     parented through the top level ApiResource class.
   * Added service level control entry point methods to ApiResource.
   * Added mainline code to set required MAPR configuration parameters.
   * Added mainline code to cm-api.rb to format HDFS and automatically start the
     HDFS service (still has a few kinks in it and needs further debugging - code
     block commented out on commit).
   * All other 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/attributes/default.rb          |    2 +-
 .../clouderamanager/libraries/api_client.rb        |  169 +++++++-
 chef/cookbooks/clouderamanager/libraries/cms.rb    |   13 +-
 chef/cookbooks/clouderamanager/libraries/hosts.rb  |   15 +-
 chef/cookbooks/clouderamanager/libraries/roles.rb  |    4 +-
 .../clouderamanager/libraries/services.rb          |  479 ++++++++++----------
 chef/cookbooks/clouderamanager/libraries/types.rb  |   21 +-
 chef/cookbooks/clouderamanager/recipes/cm-api.rb   |  265 ++++++++----
 .../clouderamanager/recipes/hadoop-setup.rb        |   22 +
 .../crowbar/bc-template-clouderamanager.json       |    2 +-
 10 files changed, 655 insertions(+), 337 deletions(-)

Crowbar-Pull-ID: 8a56258ad3d46b483bb3f09b29a9e267ad163aeb

Crowbar-Release: pebbles