Support Questions

Find answers, ask questions, and share your expertise

Configuration corrupt inside ambari-Server

avatar
Explorer

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
Explorer

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
Explorer

Hello Team,


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