Member since
03-13-2019
11
Posts
0
Kudos Received
0
Solutions
03-29-2019
07:16 AM
Thanks @Geoffrey Shelton Okot 🙂 it was owned by root, i thought this was normal and that ambari must have started the process as root because it is a security appliance, but changing to ranger works!
... View more
03-28-2019
02:04 PM
Hi All, I am having an issue in restarting Ranger Service via Ambari. I deployed a cluster via cloudbreak then added the Ranger service, I then had to make a config change and when I go to Ranger > Restart > Restart All Affected I get the attached issue: Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/RANGER/package/scripts/ranger_admin.py", line 241, in <module>
RangerAdmin().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
method(env)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 971, in restart
self.stop(env, upgrade_type=upgrade_type)
File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/RANGER/package/scripts/ranger_admin.py", line 61, in stop
Execute(format('{params.ranger_stop}'), environment={'JAVA_HOME': params.java_home}, user=params.unix_user)
File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
self.env.run()
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run
returns=self.resource.returns)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/hdp/current/ranger-admin/ews/ranger-admin-services.sh stop' returned 126. -bash: /usr/hdp/current/ranger-admin/ews/ranger-admin-services.sh: Permission denied
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Ranger
03-26-2019
07:15 AM
Thanks! This solved the issue. Once I had removed the SQL service endpoint from the VNet that hosted my cloudbreak VM everything worked fine 🙂
... View more
03-19-2019
10:14 AM
Hi @Gergely Topolyai, Thanks for the recommendation, I upgraded to 2.9.0 however was still not able to connect. However this time I got a more verbose message, looks like it is an Azure routing / compatibility issue.
... View more
03-13-2019
09:48 PM
Hi All, Trying to add an Azure Database for Postgres (v10). I am able to access it using psql from my host however when trying to add it to Hortonworks as an External Source gives the following issue: Kind Regards, Nathaniel Vala
... View more
Labels:
- Labels:
-
Hortonworks Cloudbreak