EsharEditor / ambari-hue-service

Ambari stack service for easily installing and managing Hue on HDP cluster
Apache License 2.0
107 stars 68 forks source link

install hue server failed #42

Open ColorfulDesert opened 5 years ago

ColorfulDesert commented 5 years ago

hi, I need help, an error occurred when I installed hue server on the ambari, the hue version is 4.2.0. The log is as follows: `2019-10-14 16:01:35,001 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=None -> 2.6 2019-10-14 16:01:35,007 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2019-10-14 16:01:35,008 - Group['livy'] {} 2019-10-14 16:01:35,009 - Group['spark'] {} 2019-10-14 16:01:35,010 - Group['ranger'] {} 2019-10-14 16:01:35,010 - Group['hdfs'] {} 2019-10-14 16:01:35,010 - Group['hue'] {} 2019-10-14 16:01:35,010 - Group['zeppelin'] {} 2019-10-14 16:01:35,010 - Group['hadoop'] {} 2019-10-14 16:01:35,010 - Group['users'] {} 2019-10-14 16:01:35,011 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,012 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,014 - User['superset'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,015 - User['infra-solr'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,016 - User['oozie'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2019-10-14 16:01:35,017 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,018 - User['falcon'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2019-10-14 16:01:35,020 - User['ranger'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'ranger'], 'uid': None} 2019-10-14 16:01:35,021 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2019-10-14 16:01:35,022 - User['zeppelin'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'zeppelin', u'hadoop'], 'uid': None} 2019-10-14 16:01:35,023 - User['logsearch'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,024 - User['livy'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,026 - User['spark'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,027 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users'], 'uid': None} 2019-10-14 16:01:35,028 - User['flume'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,029 - User['kafka'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,030 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hdfs'], 'uid': None} 2019-10-14 16:01:35,031 - User['hue'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,033 - User['sqoop'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,034 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,035 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,036 - User['hbase'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,037 - User['hcat'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop'], 'uid': None} 2019-10-14 16:01:35,038 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2019-10-14 16:01:35,040 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'} 2019-10-14 16:01:35,052 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] due to not_if 2019-10-14 16:01:35,053 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'} 2019-10-14 16:01:35,054 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2019-10-14 16:01:35,056 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} 2019-10-14 16:01:35,057 - call['/var/lib/ambari-agent/tmp/changeUid.sh hbase'] {} 2019-10-14 16:01:35,071 - call returned (0, '1016') 2019-10-14 16:01:35,071 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1016'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'} 2019-10-14 16:01:35,085 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1016'] due to not_if 2019-10-14 16:01:35,086 - Group['hdfs'] {} 2019-10-14 16:01:35,086 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hdfs', u'hdfs']} 2019-10-14 16:01:35,087 - FS Type: 2019-10-14 16:01:35,088 - Directory['/etc/hadoop'] {'mode': 0755} 2019-10-14 16:01:35,104 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} 2019-10-14 16:01:35,105 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777} 2019-10-14 16:01:35,133 - Repository['HDP-2.6-repo-52'] {'append_to_file': False, 'base_url': 'http://ha01/HDP/centos7/2.6.5.0-292/', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-52', 'mirror_list': ''} 2019-10-14 16:01:35,142 - File['/etc/yum.repos.d/ambari-hdp-52.repo'] {'content': '[HDP-2.6-repo-52]\nname=HDP-2.6-repo-52\nbaseurl=http://ha01/HDP/centos7/2.6.5.0-292/\n\npath=/\nenabled=1\ngpgcheck=0'} 2019-10-14 16:01:35,142 - Writing File['/etc/yum.repos.d/ambari-hdp-52.repo'] because contents don't match 2019-10-14 16:01:35,143 - Repository['HDP-2.6-GPL-repo-52'] {'append_to_file': True, 'base_url': 'http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.5.0', 'action': ['create'], 'components': [u'HDP-GPL', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-52', 'mirror_list': ''} 2019-10-14 16:01:35,147 - File['/etc/yum.repos.d/ambari-hdp-52.repo'] {'content': '[HDP-2.6-repo-52]\nname=HDP-2.6-repo-52\nbaseurl=http://ha01/HDP/centos7/2.6.5.0-292/\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-2.6-GPL-repo-52]\nname=HDP-2.6-GPL-repo-52\nbaseurl=http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.5.0\n\npath=/\nenabled=1\ngpgcheck=0'} 2019-10-14 16:01:35,148 - Writing File['/etc/yum.repos.d/ambari-hdp-52.repo'] because contents don't match 2019-10-14 16:01:35,148 - Repository['HDP-UTILS-1.1.0.22-repo-52'] {'append_to_file': True, 'base_url': 'http://ha01/HDP-UTILS/', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'ambari-hdp-52', 'mirror_list': ''} 2019-10-14 16:01:35,154 - File['/etc/yum.repos.d/ambari-hdp-52.repo'] {'content': '[HDP-2.6-repo-52]\nname=HDP-2.6-repo-52\nbaseurl=http://ha01/HDP/centos7/2.6.5.0-292/\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-2.6-GPL-repo-52]\nname=HDP-2.6-GPL-repo-52\nbaseurl=http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.5.0\n\npath=/\nenabled=1\ngpgcheck=0\n[HDP-UTILS-1.1.0.22-repo-52]\nname=HDP-UTILS-1.1.0.22-repo-52\nbaseurl=http://ha01/HDP-UTILS/\n\npath=/\nenabled=1\ngpgcheck=0'} 2019-10-14 16:01:35,154 - Writing File['/etc/yum.repos.d/ambari-hdp-52.repo'] because contents don't match 2019-10-14 16:01:35,155 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:35,390 - Skipping installation of existing package unzip 2019-10-14 16:01:35,391 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:35,416 - Skipping installation of existing package curl 2019-10-14 16:01:35,418 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:35,444 - Skipping installation of existing package hdp-select 2019-10-14 16:01:35,456 - The repository with version 2.6.5.0-292 for this command has been marked as resolved. It will be used to report the version of the component which was installed 2019-10-14 16:01:35,474 - Skipping stack-select on HUE because it does not exist in the stack-select package structure. 2019-10-14 16:01:36,333 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2019-10-14 16:01:36,339 - Package['wget'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:36,499 - Skipping installation of existing package wget 2019-10-14 16:01:36,500 - Package['tar'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:36,510 - Skipping installation of existing package tar 2019-10-14 16:01:36,511 - Package['asciidoc'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:36,530 - Skipping installation of existing package asciidoc 2019-10-14 16:01:36,532 - Package['krb5-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:36,545 - Skipping installation of existing package krb5-devel 2019-10-14 16:01:36,547 - Package['libxml2-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:36,576 - Skipping installation of existing package libxml2-devel 2019-10-14 16:01:36,577 - Package['libxslt-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:36,597 - Skipping installation of existing package libxslt-devel 2019-10-14 16:01:36,598 - Package['openldap-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:36,617 - Skipping installation of existing package openldap-devel 2019-10-14 16:01:36,618 - Package['python-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:36,640 - Skipping installation of existing package python-devel 2019-10-14 16:01:36,641 - Package['python-simplejson'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:36,660 - Installing package python-simplejson ('/usr/bin/yum -d 0 -e 0 -y install python-simplejson') 2019-10-14 16:01:45,355 - Package['python-setuptools'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:45,368 - Skipping installation of existing package python-setuptools 2019-10-14 16:01:45,369 - Package['python-psycopg2'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:45,380 - Skipping installation of existing package python-psycopg2 2019-10-14 16:01:45,380 - Package['sqlite-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:45,391 - Skipping installation of existing package sqlite-devel 2019-10-14 16:01:45,392 - Package['rsync'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:45,402 - Skipping installation of existing package rsync 2019-10-14 16:01:45,403 - Package['saslwrapper-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:45,415 - Skipping installation of existing package saslwrapper-devel 2019-10-14 16:01:45,415 - Package['pycrypto'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:45,430 - Installing package pycrypto ('/usr/bin/yum -d 0 -e 0 -y install pycrypto') 2019-10-14 16:01:49,167 - Package['gmp-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:49,192 - Skipping installation of existing package gmp-devel 2019-10-14 16:01:49,193 - Package['libyaml-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:49,207 - Skipping installation of existing package libyaml-devel 2019-10-14 16:01:49,208 - Package['cyrus-sasl-plain'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:49,220 - Skipping installation of existing package cyrus-sasl-plain 2019-10-14 16:01:49,221 - Package['cyrus-sasl-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:49,232 - Skipping installation of existing package cyrus-sasl-devel 2019-10-14 16:01:49,233 - Package['cyrus-sasl-gssapi'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:49,247 - Skipping installation of existing package cyrus-sasl-gssapi 2019-10-14 16:01:49,249 - Package['libffi-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5} 2019-10-14 16:01:49,295 - Skipping installation of existing package libffi-devel 2019-10-14 16:01:49,300 - Downloading Hue Service 2019-10-14 16:01:49,301 - Execute['cat /etc/yum.repos.d/HDP.repo | grep "baseurl" | awk -F '=' '{print $2"hue/hue-4.2.0.tgz"}' | xargs wget -O hue.tgz'] {} 2019-10-14 16:02:11,256 - The repository with version 2.6.5.0-292 for this command has been marked as resolved. It will be used to report the version of the component which was installed 2019-10-14 16:02:11,266 - Skipping stack-select on HUE because it does not exist in the stack-select package structure.

Command failed after 1 tries`