You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/11/28 17:59:12 UTC
[jira] [Commented] (AMBARI-8473) Ambari public hostname script
doesn't work
[ https://issues.apache.org/jira/browse/AMBARI-8473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228396#comment-14228396 ]
Hudson commented on AMBARI-8473:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #1055 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1055/])
AMBARI-8473. Ambari public hostname script doesn't work (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a56e9247449071a96e2d9a0646e4b2d094220e0a)
* ambari-agent/src/main/python/ambari_agent/hostname.py
> Ambari public hostname script doesn't work
> ------------------------------------------
>
> Key: AMBARI-8473
> URL: https://issues.apache.org/jira/browse/AMBARI-8473
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.0.0
>
>
> PROBLEM: follow the instruction to specify the public hostname, configure it
> in ambari-agent.ini. When it restart ambari-agent, the follow error is
> observed:
>
>
> INFO 2014-11-24 19:23:58,190 NetUtil.py:49 - Calling url received 200
> INFO 2014-11-24 19:23:58,196 hostname.py:75 - Error using the scriptname:Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/ambari_agent/hostname.py", line 66, in public_hostname
> output = subprocess.Popen([scriptname],stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd='/')
> File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
> errread, errwrite)
> File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
> raise child_exception
> OSError: [Errno 2] No such file or directory
> :out :err
>
> In ambari-agent.ini:
> we have public_hostname_script=/var/lib/ambari-agent/hostname.sh
> and permission is 777.
> The hosts table in database is not updated as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)