stderr:
Failed to execute command: /usr/sbin/hst activity-explorer setup root:root; Exit code: 127; stdout: ; stderr: /usr/sbin/hst:行334: install-activity-explorer.sh: 未找到命令
stdout:
2017-07-20 15:09:44,660 - Stack Feature Version Info: stack_version=2.6, version=None, current_cluster_version=None -> 2.6
2017-07-20 15:09:44,671 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
User Group mapping (user_group) is missing in the hostLevelParams
2017-07-20 15:09:44,673 - Group['hadoop'] {}
2017-07-20 15:09:44,674 - Group['users'] {}
2017-07-20 15:09:44,675 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']}
2017-07-20 15:09:44,676 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']}
2017-07-20 15:09:44,676 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'users']}
2017-07-20 15:09:44,677 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']}
2017-07-20 15:09:44,678 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']}
2017-07-20 15:09:44,679 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': [u'hadoop']}
2017-07-20 15:09:44,679 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2017-07-20 15:09:44,681 - 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'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
2017-07-20 15:09:44,687 - 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'] due to not_if
2017-07-20 15:09:44,688 - Group['hdfs'] {}
2017-07-20 15:09:44,688 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': [u'hadoop', u'hdfs']}
2017-07-20 15:09:44,689 - FS Type:
2017-07-20 15:09:44,689 - Directory['/etc/hadoop'] {'mode': 0755}
2017-07-20 15:09:44,690 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777}
2017-07-20 15:09:44,710 - Initializing 2 repositories
2017-07-20 15:09:44,711 - Repository['HDP-2.6'] {'base_url': 'http://192.168.100.101/hdp/HDP/centos7/', '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': 'HDP', 'mirror_list': None}
2017-07-20 15:09:44,720 - File['/etc/yum.repos.d/HDP.repo'] {'content': '[HDP-2.6]\nname=HDP-2.6\nbaseurl=http://192.168.100.101/hdp/HDP/centos7/\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-07-20 15:09:44,721 - Repository['HDP-UTILS-1.1.0.21'] {'base_url': 'http://192.168.100.101/hdp', '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': 'HDP-UTILS', 'mirror_list': None}
2017-07-20 15:09:44,724 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': '[HDP-UTILS-1.1.0.21]\nname=HDP-UTILS-1.1.0.21\nbaseurl=http://192.168.100.101/hdp\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-07-20 15:09:44,725 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-07-20 15:09:44,834 - Skipping installation of existing package unzip
2017-07-20 15:09:44,834 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-07-20 15:09:44,845 - Skipping installation of existing package curl
2017-07-20 15:09:44,846 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-07-20 15:09:44,856 - Skipping installation of existing package hdp-select
installing using command: {sudo} rpm -qa | grep smartsense- || {sudo} yum -y install smartsense-hst || {sudo} rpm -i /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/files/rpm/*.rpm
Command: rpm -qa | grep smartsense- || yum -y install smartsense-hst || rpm -i /var/lib/ambari-agent/cache/stacks/HDP/2.1/services/SMARTSENSE/package/files/rpm/*.rpm
Exit code: 0
Std Out: smartsense-hst-1.4.0.2.5.1.0-159.x86_64
Std Err: None
Deploying activity explorer
Command: /usr/sbin/hst activity-explorer setup root:root
Exit code: 127
Std Out: None
Std Err: /usr/sbin/hst:行334: install-activity-explorer.sh: 未找到命令
Command failed after 1 tries
install-activity-explorer.sh是一个文件吗?
|
|