You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alexander Herr (JIRA)" <ji...@apache.org> on 2014/09/02 17:49:21 UTC

[jira] [Created] (AMBARI-7114) ambari-server setup fails with a python IndexError

Alexander Herr created AMBARI-7114:
--------------------------------------

             Summary: ambari-server setup fails with a python IndexError
                 Key: AMBARI-7114
                 URL: https://issues.apache.org/jira/browse/AMBARI-7114
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 1.7.0
         Environment: CentOS 7, python 2.7, recompiled ambari for python 2.7 support
            Reporter: Alexander Herr


I recompiled Ambari to use it on my CentOS machine, since there is no repo for CentOS 7 and CentOS 7 ships with python 2.7. After building and installing, running ambari-server setup gives the following error:

{noformat}
Traceback (most recent call last):
  File "/usr/sbin/ambari-server.py", line 253, in <module>
    PG_HBA_DIR = utils.get_postgre_hba_dir(OS_FAMILY)
  File "/usr/lib/python2.6/site-packages/ambari_server/utils.py", line 198, in get_postgre_hba_dir
    os.symlink(glob.glob(PG_HBA_INIT_FILE[OS_FAMILY] + '*')[0], PG_HBA_INIT_FILES[OS_FAMILY])
IndexError: list index out of range
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)