使用CM API

从2014年Cloudera Manager 4.0开始,引入了API访问功能,用户可以通过API接口,使用编程方式基于Cloudera Manager提供的强大集群管理功能,实现自己的集群管理工具。

API基于Restful风格的HTTP协议,并对其封装成了Java、Python等SDK库,用户可以通过Java程序直接调用。

数据模型

配置

Safety Valve

常见用法

如何用API重启服务进程

参见: http://cloudera.github.io/cm_api/apidocs/v13/path__clusters_-clusterName-_services_-serviceName-_roleCommands_restart.html

常见问题

资源

  1. Cloudera Manager API 主页:http://cloudera.github.io/cm_api/
  2. Cloudera官网在线文档对API的简介: http://www.cloudera.com/documentation/enterprise/latest/topics/cm_intro_api.html
  3. 2012年Cloudera Manager API功能发布时的官网博客: http://blog.cloudera.com/blog/2012/09/automating-your-cluster-with-cloudera-manager-api/
  4. 使用Cloudera Manager API实现客户端代码示例:https://github.com/cloudera/cm_api

results matching ""

    No results matching ""