Member since
11-07-2019
71
Posts
1
Kudos Received
0
Solutions
11-20-2019
06:11 AM
Thank you for your reply I tried to reinstall the oozie client and server ( I have one server and 4 clients machines) It has been installed on the server and one of client but failed for the 3 other with : Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stack-hooks/after-INSTALL/scripts/hook.py", line 39, in <module> AfterInstallHook().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute method(env) File "/var/lib/ambari-agent/cache/stack-hooks/after-INSTALL/scripts/hook.py", line 32, in hook setup_stack_symlinks(self.stroutfile) File "/var/lib/ambari-agent/cache/stack-hooks/after-INSTALL/scripts/shared_initialization.py", line 66, in setup_stack_symlinks stack_select.select(package, json_version) File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 312, in select Execute(command, sudo=True) 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 'ambari-python-wrap /usr/bin/hdp-select set oozie-client 3.1.4.0-315' returned 1. symlink target /usr/hdp/current/oozie-client for oozie already exists and it is not a symlink. Any idea please? Thanks and Regards
... View more
11-19-2019
06:08 AM
Hello
I get this error when restarting components :
500 status code received on POST method for API: /api/v1/clusters/Analytics_Hadoop/requests
I deleted oozie service
I am using postegres database
Thank you in advance
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
-
Apache Oozie
11-13-2019
09:00 AM
Should be the noexec ?
... View more
11-13-2019
02:35 AM
on all servers i have this 😞 [root@luapp698 tmp]# grep run_as /etc/ambari-agent/conf/ambari-agent.ini run_as_user=root [root@luapp698 tmp]# ^C [root@luapp698 tmp]# ambari-agent start bash: /var/lib/ambari-agent/bin/ambari-agent: Permission denied
... View more
11-13-2019
02:09 AM
yes it is the case grep run_as /etc/ambari-agent/conf/ambari-agent.ini run_as_user=root and [root@server tmp]# ambari-agent start bash: /var/lib/ambari-agent/bin/ambari-agent: Permission denied i am with a root user ..
... View more
11-13-2019
01:53 AM
Hello [root@luapp698 tmp]# rpm -qa | grep ambari ambari-server-2.7.4.0-118.x86_64 ambari-agent-2.7.4.0-118.x86_64 [root@luapp698 tmp]# grep ambari /var/log/yum.log Nov 08 14:55:40 Installed: ambari-server-2.7.4.0-118.x86_64 Nov 12 17:40:20 Installed: ambari-agent-2.7.4.0-118.x86_64 Nov 13 10:05:16 Installed: ambari-agent-2.7.4.0-118.x86_64 Now I am getting this error ========================== Running create-python-wrap script... ========================== Command start time 2019-11-13 10:43:52 bash: /var/lib/ambari-agent/tmp/ambari-sudo.sh: Permission denied Connection to luapp698.lu.ema.ad.pwcinternal.com closed. SSH command execution finished host=luapp698.lu.ema.ad.pwcinternal.com, exitcode=126 Command end time 2019-11-13 10:43:52 ERROR: Bootstrap of host luapp698.lu.ema.ad.pwcinternal.com fails because previous action finished with non-zero exit code (126) ERROR MESSAGE: Connection to luapp698.lu.ema.ad.pwcinternal.com closed. STDOUT: bash: /var/lib/ambari-agent/tmp/ambari-sudo.sh: Permission denied Connection to luapp698.lu.ema.ad.pwcinternal.com closed. in SSH [root@luapp698 tmp]# ll total 16 drwxr-xr-x 6 root root 4096 Nov 13 10:43 ambari_commons -rwx------ 1 root root 1345 Nov 13 10:43 ambari-sudo.sh -rwxr-xr-x 1 root root 1577 Nov 13 10:43 create-python-wrap.sh -rwxr-xr-x 1 root root 1558 Nov 13 10:43 os_check_type1573638232.py What should be the issue please?
... View more
11-13-2019
01:30 AM
I have nothing under the /tmp directory
... View more
11-13-2019
01:29 AM
[root@luapp698 ambari-agent]# sh -x /var/lib/ambari-agent/tmp/create-python-wrap.sh sh: /var/lib/ambari-agent/tmp/create-python-wrap.sh: No such file or directory [root@luapp698 ambari-agent]# sudo su [root@luapp698 ambari-agent]# ^C [root@luapp698 ambari-agent]# cd /var/lib/ambari-agent/ [root@luapp698 ambari-agent]# ll total 32 -rwxr-xr-x 1 root root 1116 Aug 22 02:11 ambari-env.sh -rwxr-xr-x 1 root root 1345 Aug 22 02:11 ambari-sudo.sh drwxr-xr-x 2 root root 26 Nov 13 10:05 bin drwxr-xr-x 9 root root 179 Nov 13 10:05 cache drwxr-xr-x 3 root root 17 Aug 22 02:12 cred drwxr-xr-x 2 root root 21 Nov 13 10:05 data -rwxr-xr-x 1 root root 8349 Aug 22 02:11 install-helper.sh drwxr-xr-x 2 root root 6 Aug 22 02:11 keys drwxr-xr-x 2 root root 6 Aug 22 02:11 lib drwxr-xr-x 2 root root 6 Aug 22 02:11 tmp drwxr-xr-x 2 root root 53 Nov 13 10:05 tools -rwxr-xr-x 1 root root 2326 Aug 22 02:11 upgrade_agent_configs.py -rwxr-xr-x 2 root root 2166 Aug 22 02:13 upgrade_agent_configs.pyc -rwxr-xr-x 2 root root 2166 Aug 22 02:13 upgrade_agent_configs.pyo [root@luapp698 ambari-agent]# I have downloaded this https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/administering-ambari/content/amb_download_the_ambari_repository_on_rhel-centos-oracle_linux_7.html and installed like this https://docs.cloudera.com/HDPDocuments/Ambari-2.7.4.0/administering-ambari/content/amb_download_the_ambari_repository_on_rhel-centos-oracle_linux_7.html I think that the problem is deeper .. Just as a supplement information, I have installed one ambari server in centos7 and multiple nodes, I have then tried to install ambari agent on ambari server and one of those node but the error is the same I have set passwordless on all the nodes before installing agent, I could connect to all of nodes from the ambari using ssh, do I need even to install agents on all the nodes? Thank you in advance
... View more
11-13-2019
01:06 AM
[root@luapp698 bin]# ls -l /usr/bin/python lrwxrwxrwx. 1 root root 7 Nov 7 13:41 /usr/bin/python -> python2 [root@luapp698 bin]# /usr/bin/python -V Python 2.7.5 [root@luapp698 bin]# ls -lart /usr/bin/ambari-python-wrap ls: cannot access /usr/bin/ambari-python-wrap: No such file or directory I have reinstall the agent but i have the same issue 😞 Thanks
... View more
11-12-2019
08:01 AM
Dear Community,
I am trying to install an ambari cluster using Use Public Repository.
I have already configured the Password Less on all the servers and I could connect from ambari node to the others using ssh root@node1,2...
I copied the right ssh private key however the confirmation of hosts failed with:
Error while bootstrapping:
/usr/bin/env: ambari-python-wrap: No such file or directory
I could not find any ambari-agent folder , should I have? I did not install agent manually ..
Please help
Thanks and Regards
... View more
Labels:
- Labels:
-
Apache Ambari
- « Previous
-
- 1
- 2
- Next »