gdgt / cmapi Goto Github PK
View Code? Open in Web Editor NEWCloudera Manager CM API Python end-to-end example
License: Apache License 2.0
Cloudera Manager CM API Python end-to-end example
License: Apache License 2.0
Hi,
First of all, thanks for sharing this awesome approach. I am running in RHEL 6.5 and seeing the following error. It initiated a cdh5.9 cluster. Probably some property name needs to be updated.
HDFS
Create hdfs service
Traceback (most recent call last):
File "/root/cmxDeploy.py", line 1922, in
main()
File "/root/cmxDeploy.py", line 1871, in main
setup_hdfs()
File "/root/cmxDeploy.py", line 207, in setup_hdfs
service_config = cdh.dependencies_for(service)
File "/root/cmxDeploy.py", line 1573, in dependencies_for
for k, v in service.get_config(view="full")[0].items():
File "/usr/lib/python2.6/site-packages/cm_api/endpoints/services.py", line 521, in get_config
return self._parse_svc_config(resp, view)
File "/usr/lib/python2.6/site-packages/cm_api/endpoints/services.py", line 138, in _parse_svc_config
svc_config = json_to_config(json_dic, view == 'full')
File "/usr/lib/python2.6/site-packages/cm_api/endpoints/types.py", line 1282, in json_to_config
config[k] = ApiConfig.from_json_dict(entry, None)
File "/usr/lib/python2.6/site-packages/cm_api/endpoints/types.py", line 288, in from_json_dict
obj._set_attrs(dic, allow_ro=True)
File "/usr/lib/python2.6/site-packages/cm_api/endpoints/types.py", line 223, in _set_attrs
attr = self._check_attr(k, allow_ro)
File "/usr/lib/python2.6/site-packages/cm_api/endpoints/types.py", line 236, in _check_attr
(name, self.class.name))
AttributeError: Invalid property sensitive for class ApiConfig.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.