Git Product home page Git Product logo

cmapi's People

Contributors

gdgt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cmapi's Issues

Create hdfs fails

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.