Member since
02-12-2018
2
Posts
0
Kudos Received
0
Solutions
02-16-2018
03:37 PM
Thank you @Harald Berghoff ! In fact, I'm trying to install ambari in ubuntu 16.04 ( https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-installation/content/set_up_the_ambari_server.html). So, I downloaded the ambari repository then I installed the Ambari server, and, when I try to set up the ambari server by launching ambari-server setup without options, I get this error.
... View more
02-15-2018
04:51 PM
Hello!! I'm trying to setup ambari-server and i'm getting this error : Do you want to change Oracle JDK [y/n] (n)? n Completing setup... INFO: Loading properties from /etc/ambari-server/conf/ambari.properties INFO: os_type already set in the properties file Configuring database... INFO: Loading properties from /etc/ambari-server/conf/ambari.properties Enter advanced database configuration [y/n] (n)? n Configuring database... INFO: Loading properties from /etc/ambari-server/conf/ambari.properties INFO: Loading properties from /etc/ambari-server/conf/ambari.properties INFO: Loading properties from /etc/ambari-server/conf/ambari.properties INFO: Loading properties from /etc/ambari-server/conf/ambari.properties Traceback (most recent call last): File "/usr/sbin/ambari-server.py", line 950, in <module> mainBody() File "/usr/sbin/ambari-server.py", line 920, in mainBody main(options, args, parser) File "/usr/sbin/ambari-server.py", line 872, in main action_obj.execute() File "/usr/sbin/ambari-server.py", line 78, in execute self.fn(*self.args, **self.kwargs) File "/usr/lib/python2.6/site-packages/ambari_server/serverSetup.py", line 1144, in setup _setup_database(options) File "/usr/lib/python2.6/site-packages/ambari_server/serverSetup.py", line 953, in _setup_database dbmsAmbari = factory.create(options, properties, "Ambari") File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration.py", line 465, in create dbmsConfig = desc.create_config(options, properties, dbId) File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration.py", line 79, in create_config return self.fn_create_config(options, properties, self.storage_key, dbId) File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration_linux.py", line 874, in createPGConfig return PGConfig(options, properties, storage_type) File "/usr/lib/python2.6/site-packages/ambari_server/dbConfiguration_linux.py", line 405, in __init__ PGConfig.PG_STATUS_RUNNING = get_postgre_running_status() File "/usr/lib/python2.6/site-packages/ambari_server/utils.py", line 289, in get_postgre_running_status return os.path.join(get_ubuntu_pg_version(), "main") File "/usr/lib/python2.7/posixpath.py", line 70, in join elif path == '' or path.endswith('/'): AttributeError: 'list' object has no attribute 'endswith'
... View more
Labels:
- Labels:
-
Apache Ambari