Member since
04-06-2018
16
Posts
1
Kudos Received
0
Solutions
07-20-2018
04:28 PM
@rguruvannagari Do you have an idea about that issue and how to workaround it? I think it may be related to the fact there is no entry for myuser in user_groups variable defined in /var/lib/ambari-agent/data/command-3409.json. However, I am not sure how this one is built. Any pointers very much appreciated. Thanks!
... View more
07-20-2018
05:33 AM
@Jay Kumar SenSharma, @Geoffrey Shelton Okot Are you able to help on the above? Many thanks!
... View more
07-19-2018
04:02 PM
1 Kudo
Hi All, I have been trying to add a customer service through Ambari 2.7.0 (NOTE: that works fine with the previous versions). After selecting the service from Choose Serivces, the system tries to add a client first. But this comes back with the following error: Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py", line 35, in <module>
BeforeAnyHook().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
method(env)
File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py", line 29, in hook
setup_users()
File "/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/shared_initialization.py", line 50, in setup_users
groups = params.user_to_groups_dict[user],
KeyError: 'myuser'
Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stack-hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-3409.json', '/var/lib/ambari-agent/cache/stack-hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-3409.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1_2', ''] Should myuser be part of the Service Users and Groups - see the below table: screen-shot-2018-07-19-at-45504-pm.png If so, how can I add one in there?
... View more
Labels:
- Labels:
-
Apache Ambari