-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48135/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-16989
    https://issues.apache.org/jira/browse/AMBARI-16989


Repository: ambari


Description
-------

[root@gc7201 ~]# ambari-server start
    Using python  /usr/bin/python
    Starting ambari-server
    Traceback (most recent call last):
      File "/usr/sbin/ambari-server.py", line 33, in <module>
        from ambari_server.dbConfiguration import DATABASE_NAMES, 
LINUX_DBMS_KEYS_LIST
      File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration.py", 
line 28, in <module>
        from ambari_server.serverConfiguration import 
decrypt_password_for_alias, get_ambari_properties, get_is_secure, \
      File 
"/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 
537, in <module>
        configDefaults = ServerConfigDefaults()
      File 
"/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 
456, in __init__
        super(ServerConfigDefaultsLinux, self).__init__()
      File 
"/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 
352, in __init__
        self.check_if_directories_writable([self.OUT_DIR, self.PID_DIR])
      File 
"/usr/lib/python2.6/site-packages/ambari_server/serverConfiguration.py", line 
394, in check_if_directories_writable
        raise FatalException(-1, "Unable to access {0} directory. Confirm the 
directory is created and is writable by the Ambari Server user account 
'{1}'".format(directory, getpass.getuser()))
    ambari_commons.exceptions.FatalException: "Fatal exception: Unable to 
access /var/run/ambari-server directory. Confirm the directory is created and 
is writable by the Ambari Server user account 'root', exit code -1"


Diffs
-----

  ambari-server/src/main/python/ambari_server/serverConfiguration.py c28909e 

Diff: https://reviews.apache.org/r/48135/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to