Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Configuration corrupt inside ambari-Server

avatar
New Member

I could see the below configurations coming from desired config output from configuration dump through ambari.


usersync-properties

slider-client

ranger-site

hst-common-conf

capture-levels


But when i used to get the properties output usings config.py its throwing the below error.


File "/usr/lib64/python2.7/site.py", line 556, in 

main()

File "/usr/lib64/python2.7/site.py", line 538, in main

known_paths = addusersitepackages(known_paths)

File "/usr/lib64/python2.7/site.py", line 266, in addusersitepackages

user_site = getusersitepackages()

File "/usr/lib64/python2.7/site.py", line 255, in getusersitepackages

USER_SITE = get_path('purelib', '%s_user' % os.name)

File "/usr/lib64/python2.7/sysconfig.py", line 437, in get_path

return get_paths(scheme, vars, expand)[name]

File "/usr/lib64/python2.7/sysconfig.py", line 428, in get_paths

return _expand_vars(scheme, vars)

File "/usr/lib64/python2.7/sysconfig.py", line 156, in _expand_vars

_extend_dict(vars, get_config_vars())

File "/usr/lib64/python2.7/sysconfig.py", line 147, in _extend_dict

for key, value in other_dict.items():
1 ACCEPTED SOLUTION

avatar
New Member

Hello Team,


I got the solution it's very simple that when we use curl - we are not supposed to use special character.

View solution in original post

1 REPLY 1

avatar
New Member

Hello Team,


I got the solution it's very simple that when we use curl - we are not supposed to use special character.