Skip to main content
govinluck
Gold ⭐️
Aug 9, 2019 7:54 PM UTC
Solved

Configuration corrupt inside ambari-Server

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():

govinluck
govinluckAnswer
Gold ⭐️
Aug 14, 2019 5:04 PM UTC

Hello Team,


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

1 reply

govinluck
govinluckAuthorAnswer
Gold ⭐️
Aug 14, 2019 5:04 PM UTC

Hello Team,


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

Translate