Member since
11-14-2018
3
Posts
0
Kudos Received
0
Solutions
04-22-2019
08:08 PM
Were you able to resolve this? We are getting similar errors
... View more
11-14-2018
07:11 PM
@Jay Kumar SenSharma Hi , I am trying to use this in my environment but fails. Its a kerberized environment and SSL enabled. "XXX" is where I replace the right values. /var/lib/ambari-server/resources/scripts/configs.py --user=admin --password="XXXXXXXXX" --port=8442 --action=get --host="XXX"--cluster="XXX" --config-type=yarn-site
2018-11-14 10:58:36,163 INFO ### Performing "get" content:
Traceback (most recent call last):
File "/var/lib/ambari-server/resources/scripts/configs.py", line 364, in <module>
sys.exit(main())
File "/var/lib/ambari-server/resources/scripts/configs.py", line 350, in main
return get_properties(cluster, config_type, action_args, accessor)
File "/var/lib/ambari-server/resources/scripts/configs.py", line 260, in get_properties
get_config(cluster, config_type, accessor, output)
File "/var/lib/ambari-server/resources/scripts/configs.py", line 212, in get_config
properties, attributes = get_current_config(cluster, config_type, accessor)
File "/var/lib/ambari-server/resources/scripts/configs.py", line 123, in get_current_config
config_tag = get_config_tag(cluster, config_type, accessor)
File "/var/lib/ambari-server/resources/scripts/configs.py", line 94, in get_config_tag
response = accessor(DESIRED_CONFIGS_URL.format(cluster))
File "/var/lib/ambari-server/resources/scripts/configs.py", line 89, in do_request
raise Exception('Problem with accessing api. Reason: {0}'.format(exc))
Exception: Problem with accessing api. Reason: ''
... View more