Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 03E9C200BB6 for ; Fri, 4 Nov 2016 08:21:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 02A83160AE8; Fri, 4 Nov 2016 07:21:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EF422160B04 for ; Fri, 4 Nov 2016 08:20:59 +0100 (CET) Received: (qmail 93321 invoked by uid 500); 4 Nov 2016 07:20:59 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 93122 invoked by uid 99); 4 Nov 2016 07:20:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2016 07:20:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E46582C1F56 for ; Fri, 4 Nov 2016 07:20:58 +0000 (UTC) Date: Fri, 4 Nov 2016 07:20:58 +0000 (UTC) From: "jiafeng.zhang (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18797) ambari-metrics-monitor install fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 04 Nov 2016 07:21:01 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jiafeng.zhang updated AMBARI-18797: ----------------------------------- Summary: ambari-metrics-monitor install fail (was: ambari-metrics-monitor) > ambari-metrics-monitor install fail > ----------------------------------- > > Key: AMBARI-18797 > URL: https://issues.apache.org/jira/browse/AMBARI-18797 > Project: Ambari > Issue Type: Bug > Components: metrics > Affects Versions: 2.4.0 > Reporter: jiafeng.zhang > > stderr: > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py", line 68, in > AmsMonitor().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py", line 28, in install > import params > File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py", line 28, in > import status_params > File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/status_params.py", line 38, in > kinit_path_local = functions.get_kinit_path(default('/configurations/kerberos-env/executable_search_paths', None)) > NameError: name 'functions' is not defined > stdout: > 2016-11-03 14:51:02,044 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.5.0.0-1245 > 2016-11-03 14:51:02,045 - Checking if need to create versioned conf dir /etc/hadoop/2.5.0.0-1245/0 > 2016-11-03 14:51:02,046 - call[('ambari-python-wrap', '/usr/bin/conf-select', 'create-conf-dir', '--package', 'hadoop', '--stack-version', '2.5.0.0-1245', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1} > 2016-11-03 14:51:02,107 - call returned (1, '/etc/hadoop/2.5.0.0-1245/0 exist already', '') > 2016-11-03 14:51:02,108 - checked_call[('ambari-python-wrap', '/usr/bin/conf-select', 'set-conf-dir', '--package', 'hadoop', '--stack-version', '2.5.0.0-1245', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False} > 2016-11-03 14:51:02,169 - checked_call returned (0, '') > 2016-11-03 14:51:02,170 - Ensuring that hadoop has the correct symlink structure > 2016-11-03 14:51:02,170 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf > 2016-11-03 14:51:02,173 - Group['hadoop'] {} > 2016-11-03 14:51:02,176 - Group['users'] {} > 2016-11-03 14:51:02,177 - Group['zeppelin'] {} > 2016-11-03 14:51:02,177 - Group['spark'] {} > 2016-11-03 14:51:02,178 - Group['livy'] {} > 2016-11-03 14:51:02,179 - User['hive'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,180 - User['zeppelin'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,182 - User['ambari-qa'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} > 2016-11-03 14:51:02,183 - User['flume'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,185 - User['hdfs'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,186 - User['infra-solr'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,188 - User['spark'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,189 - User['livy'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,190 - User['mapred'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,192 - User['hbase'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,193 - User['tez'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['users']} > 2016-11-03 14:51:02,195 - User['zookeeper'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,196 - User['kafka'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,197 - User['yarn'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,199 - User['hcat'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,200 - User['ams'] {'gid': 'hadoop', 'fetch_nonlocal_groups': True, 'groups': ['hadoop']} > 2016-11-03 14:51:02,202 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} > 2016-11-03 14:51:02,206 - 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)'} > 2016-11-03 14:51:02,228 - 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 > 2016-11-03 14:51:02,229 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'create_parents': True, 'mode': 0775, 'cd_access': 'a'} > 2016-11-03 14:51:02,231 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555} > 2016-11-03 14:51:02,234 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'} > 2016-11-03 14:51:02,255 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] due to not_if > 2016-11-03 14:51:02,256 - Group['hdfs'] {} > 2016-11-03 14:51:02,257 - User['hdfs'] {'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'hdfs']} > 2016-11-03 14:51:02,258 - FS Type: > 2016-11-03 14:51:02,259 - Directory['/etc/hadoop'] {'mode': 0755} > 2016-11-03 14:51:02,297 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'} > 2016-11-03 14:51:02,298 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 01777} > 2016-11-03 14:51:02,327 - Initializing 2 repositories > 2016-11-03 14:51:02,328 - Repository['HDP-2.5'] {'base_url': 'http://dpnode11/HDP/centos6/2.x/updates/2.5.0.0', 'action': ['create'], 'components': ['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} > 2016-11-03 14:51:02,346 - File['/etc/yum.repos.d/HDP.repo'] {'content': '[HDP-2.5]\nname=HDP-2.5\nbaseurl=http://dpnode11/HDP/centos6/2.x/updates/2.5.0.0\n\npath=/\nenabled=1\ngpgcheck=0'} > 2016-11-03 14:51:02,348 - Repository['HDP-UTILS-1.1.0.21'] {'base_url': 'http://dpnode11/HDP-UTILS-1.1.0.21/repos/centos6', 'action': ['create'], 'components': ['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} > 2016-11-03 14:51:02,356 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': '[HDP-UTILS-1.1.0.21]\nname=HDP-UTILS-1.1.0.21\nbaseurl=http://dpnode11/HDP-UTILS-1.1.0.21/repos/centos6\n\npath=/\nenabled=1\ngpgcheck=0'} > 2016-11-03 14:51:02,357 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5} > 2016-11-03 14:51:02,467 - Skipping installation of existing package unzip > 2016-11-03 14:51:02,468 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5} > 2016-11-03 14:51:02,487 - Skipping installation of existing package curl > 2016-11-03 14:51:02,488 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5} > 2016-11-03 14:51:02,507 - Skipping installation of existing package hdp-select > 2016-11-03 14:51:02,875 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.5.0.0-1245 > 2016-11-03 14:51:02,876 - Checking if need to create versioned conf dir /etc/hadoop/2.5.0.0-1245/0 > 2016-11-03 14:51:02,877 - call[('ambari-python-wrap', '/usr/bin/conf-select', 'create-conf-dir', '--package', 'hadoop', '--stack-version', '2.5.0.0-1245', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1} > 2016-11-03 14:51:02,941 - call returned (1, '/etc/hadoop/2.5.0.0-1245/0 exist already', '') > 2016-11-03 14:51:02,942 - checked_call[('ambari-python-wrap', '/usr/bin/conf-select', 'set-conf-dir', '--package', 'hadoop', '--stack-version', '2.5.0.0-1245', '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False} > 2016-11-03 14:51:03,002 - checked_call returned (0, '') > 2016-11-03 14:51:03,004 - Ensuring that hadoop has the correct symlink structure > 2016-11-03 14:51:03,005 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf > Command failed after 1 tries -- This message was sent by Atlassian JIRA (v6.3.4#6332)