incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vitthal (Suhas) Gogate (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-181) Ambari agent configuration prefix directory should be created by agent if it does not exist
Date Tue, 03 Jan 2012 21:32:39 GMT
Ambari agent configuration prefix directory should be created by agent if it does not exist
-------------------------------------------------------------------------------------------

                 Key: AMBARI-181
                 URL: https://issues.apache.org/jira/browse/AMBARI-181
             Project: Ambari
          Issue Type: Bug
            Reporter: vitthal (Suhas) Gogate
            Assignee: Devaraj Das


Starting agent gives following error when prefix /var/ambari does not exists. Agent should
create necessary directories if it needs them. 

Traceback (most recent call last):
  File "main.py", line 143, in <module>
    main()
  File "main.py", line 133, in main
    killstaleprocesses()
  File "/home/puppet/ambari/agent/src/main/python/ambari_agent/shell.py", line 52, in killstaleprocesses
    files = os.listdir(prefix)
OSError: [Errno 2] No such file or directory: '/var/ambari'


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message