Aravindan Vijayan created AMBARI-23022:
------------------------------------------
Summary: Ambari UI deploy fails during startup of Ambari Metrics
Key: AMBARI-23022
URL: https://issues.apache.org/jira/browse/AMBARI-23022
Project: Ambari
Issue Type: Bug
Components: ambari-metrics
Affects Versions: 3.0.0
Reporter: Aravindan Vijayan
{noformat}
HDP version: HDP-3.0.0.0-702
Ambari version: 2.99.99.0-77
{noformat}
/var/lib/ambari-agent/data/errors-52.txt:
{noformat}
Traceback (most recent call last):
File
"/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py",
line 90, in <module>
AmsCollector().execute()
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 371, in execute
self.execute_prefix_function(self.command_name, 'post', env)
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 392, in execute_prefix_function
method(env)
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 434, in post_start
raise Fail("Pid file {0} doesn't exist after starting of the
component.".format(pid_file))
resource_management.core.exceptions.Fail: Pid file
/var/run/ambari-metrics-collector//hbase-ams-master.pid doesn't exist after
starting of the component.
{noformat}
/var/lib/ambari-agent/data/output-52.txt:
{noformat}
2018-01-11 13:03:40,753 - Stack Feature Version Info: Cluster Stack=3.0,
Command Stack=None, Command Version=3.0.0.0-702 -> 3.0.0.0-702
2018-01-11 13:03:40,755 - Using hadoop conf dir:
/usr/hdp/3.0.0.0-702/hadoop/conf
2018-01-11 13:03:40,884 - Stack Feature Version Info: Cluster Stack=3.0,
Command Stack=None, Command Version=3.0.0.0-702 -> 3.0.0.0-702
2018-01-11 13:03:40,885 - Using hadoop conf dir:
/usr/hdp/3.0.0.0-702/hadoop/conf
2018-01-11 13:03:40,886 - Group['hdfs'] {}
2018-01-11 13:03:40,887 - Group['hadoop'] {}
2018-01-11 13:03:40,887 - Group['users'] {}
2018-01-11 13:03:40,887 - User['hive'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-01-11 13:03:40,890 - User['infra-solr'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-01-11 13:03:40,891 - User['zookeeper'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-01-11 13:03:40,892 - User['atlas'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-01-11 13:03:40,893 - User['ams'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-01-11 13:03:40,893 - User['ambari-qa'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'users'], 'uid': None}
2018-01-11 13:03:40,894 - User['kafka'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-01-11 13:03:40,894 - User['tez'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop', 'users'], 'uid': None}
2018-01-11 13:03:40,895 - User['hdfs'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hdfs', 'hadoop'], 'uid': None}
2018-01-11 13:03:40,895 - User['yarn'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-01-11 13:03:40,896 - User['mapred'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-01-11 13:03:40,897 - User['hbase'] {'gid': 'hadoop',
'fetch_nonlocal_groups': True, 'groups': ['hadoop'], 'uid': None}
2018-01-11 13:03:40,897 - File['/var/lib/ambari-agent/tmp/changeUid.sh']
{'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2018-01-11 13:03:40,898 - 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)'}
2018-01-11 13:03:40,903 - 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
2018-01-11 13:03:40,903 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase',
'create_parents': True, 'mode': 0775, 'cd_access': 'a'}
2018-01-11 13:03:40,904 - File['/var/lib/ambari-agent/tmp/changeUid.sh']
{'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2018-01-11 13:03:40,905 - File['/var/lib/ambari-agent/tmp/changeUid.sh']
{'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2018-01-11 13:03:40,906 - call['/var/lib/ambari-agent/tmp/changeUid.sh hbase']
{}
2018-01-11 13:03:40,913 - call returned (0, '1002')
2018-01-11 13:03:40,914 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase
/home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1002']
{'not_if': '(test $(id -u hbase) -gt 1000) || (false)'}
2018-01-11 13:03:40,917 - Skipping
Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase
/home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1002']
due to not_if
2018-01-11 13:03:40,918 - Group['hdfs'] {}
2018-01-11 13:03:40,918 - User['hdfs'] {'fetch_nonlocal_groups': True,
'groups': ['hdfs', 'hadoop', 'hdfs']}
2018-01-11 13:03:40,919 - FS Type:
2018-01-11 13:03:40,919 - Directory['/etc/hadoop'] {'mode': 0755}
2018-01-11 13:03:40,932 -
File['/usr/hdp/3.0.0.0-702/hadoop/conf/hadoop-env.sh'] {'content':
InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2018-01-11 13:03:40,933 -
Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs',
'group': 'hadoop', 'mode': 01777}
2018-01-11 13:03:40,947 - Execute[('setenforce', '0')] {'not_if': '(! which
getenforce ) || (which getenforce && getenforce | grep -q Disabled)', 'sudo':
True, 'only_if': 'test -f /selinux/enforce'}
2018-01-11 13:03:40,962 - Directory['/var/log/hadoop'] {'owner': 'root',
'create_parents': True, 'group': 'hadoop', 'mode': 0775, 'cd_access': 'a'}
2018-01-11 13:03:40,964 - Directory['/var/run/hadoop'] {'owner': 'root',
'create_parents': True, 'group': 'root', 'cd_access': 'a'}
2018-01-11 13:03:40,964 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs',
'create_parents': True, 'cd_access': 'a'}
2018-01-11 13:03:40,967 -
File['/usr/hdp/3.0.0.0-702/hadoop/conf/commons-logging.properties'] {'content':
Template('commons-logging.properties.j2'), 'owner': 'hdfs'}
2018-01-11 13:03:40,969 - File['/usr/hdp/3.0.0.0-702/hadoop/conf/health_check']
{'content': Template('health_check.j2'), 'owner': 'hdfs'}
2018-01-11 13:03:40,973 -
File['/usr/hdp/3.0.0.0-702/hadoop/conf/log4j.properties'] {'content':
InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644}
2018-01-11 13:03:40,982 -
File['/usr/hdp/3.0.0.0-702/hadoop/conf/hadoop-metrics2.properties'] {'content':
InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
2018-01-11 13:03:40,983 -
File['/usr/hdp/3.0.0.0-702/hadoop/conf/task-log4j.properties'] {'content':
StaticFile('task-log4j.properties'), 'mode': 0755}
2018-01-11 13:03:40,983 -
File['/usr/hdp/3.0.0.0-702/hadoop/conf/configuration.xsl'] {'owner': 'hdfs',
'group': 'hadoop'}
2018-01-11 13:03:40,987 - File['/etc/hadoop/conf/topology_mappings.data']
{'owner': 'hdfs', 'content': Template('topology_mappings.data.j2'), 'only_if':
'test -d /etc/hadoop/conf', 'group': 'hadoop', 'mode': 0644}
2018-01-11 13:03:40,991 - File['/etc/hadoop/conf/topology_script.py']
{'content': StaticFile('topology_script.py'), 'only_if': 'test -d
/etc/hadoop/conf', 'mode': 0755}
2018-01-11 13:03:40,996 - Skipping stack-select on AMBARI_METRICS because it
does not exist in the stack-select package structure.
2018-01-11 13:03:41,142 - Using hadoop conf dir:
/usr/hdp/3.0.0.0-702/hadoop/conf
2018-01-11 13:03:41,144 - checked_call['hostid'] {}
2018-01-11 13:03:41,147 - checked_call returned (0, '007f0100')
2018-01-11 13:03:41,150 - Directory['/etc/ams-hbase/conf'] {'owner': 'ams',
'group': 'hadoop', 'create_parents': True, 'recursive_ownership': True}
2018-01-11 13:03:41,151 - Changing owner for /etc/ams-hbase/conf from 0 to ams
2018-01-11 13:03:41,151 - Changing group for /etc/ams-hbase/conf from 0 to
hadoop
2018-01-11 13:03:41,151 -
Directory['/var/lib/ambari-metrics-collector/hbase-tmp'] {'owner': 'ams',
'create_parents': True, 'recursive_ownership': True, 'cd_access': 'a'}
2018-01-11 13:03:41,159 - Creating directory
Directory['/var/lib/ambari-metrics-collector/hbase-tmp'] since it doesn't exist.
2018-01-11 13:03:41,159 - Changing owner for
/var/lib/ambari-metrics-collector/hbase-tmp from 0 to ams
2018-01-11 13:03:41,160 -
Directory['/var/lib/ambari-metrics-collector/hbase-tmp/local/jars'] {'owner':
'ams', 'group': 'hadoop', 'create_parents': True, 'mode': 0775, 'cd_access':
'a'}
2018-01-11 13:03:41,160 - Creating directory
Directory['/var/lib/ambari-metrics-collector/hbase-tmp/local/jars'] since it
doesn't exist.
2018-01-11 13:03:41,160 - Changing owner for
/var/lib/ambari-metrics-collector/hbase-tmp/local/jars from 0 to ams
2018-01-11 13:03:41,160 - Changing group for
/var/lib/ambari-metrics-collector/hbase-tmp/local/jars from 0 to hadoop
2018-01-11 13:03:41,160 - Changing permission for
/var/lib/ambari-metrics-collector/hbase-tmp/local/jars from 755 to 775
2018-01-11 13:03:41,161 - File['/etc/ams-hbase/conf/core-site.xml'] {'owner':
'ams', 'action': ['delete']}
2018-01-11 13:03:41,161 - File['/etc/ams-hbase/conf/hdfs-site.xml'] {'owner':
'ams', 'action': ['delete']}
2018-01-11 13:03:41,161 - XmlConfig['hbase-site.xml'] {'owner': 'ams', 'group':
'hadoop', 'conf_dir': '/etc/ams-hbase/conf', 'configuration_attributes':
{'final': {'hbase.zookeeper.quorum': 'true'}}, 'configurations': ...}
2018-01-11 13:03:41,170 - Generating config: /etc/ams-hbase/conf/hbase-site.xml
2018-01-11 13:03:41,170 - File['/etc/ams-hbase/conf/hbase-site.xml'] {'owner':
'ams', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None,
'encoding': 'UTF-8'}
2018-01-11 13:03:41,198 - Writing File['/etc/ams-hbase/conf/hbase-site.xml']
because contents don't match
2018-01-11 13:03:41,198 -
Directory['/var/lib/ambari-metrics-collector/hbase-tmp/phoenix-spool']
{'owner': 'ams', 'group': 'hadoop', 'create_parents': True, 'mode': 0755,
'cd_access': 'a'}
2018-01-11 13:03:41,198 - Creating directory
Directory['/var/lib/ambari-metrics-collector/hbase-tmp/phoenix-spool'] since it
doesn't exist.
2018-01-11 13:03:41,199 - Changing owner for
/var/lib/ambari-metrics-collector/hbase-tmp/phoenix-spool from 0 to ams
2018-01-11 13:03:41,199 - Changing group for
/var/lib/ambari-metrics-collector/hbase-tmp/phoenix-spool from 0 to hadoop
2018-01-11 13:03:41,199 - XmlConfig['hbase-policy.xml'] {'owner': 'ams',
'group': 'hadoop', 'conf_dir': '/etc/ams-hbase/conf',
'configuration_attributes': {}, 'configurations':
{'security.masterregion.protocol.acl': '*', 'security.admin.protocol.acl': '*',
'security.client.protocol.acl': '*'}}
2018-01-11 13:03:41,205 - Generating config:
/etc/ams-hbase/conf/hbase-policy.xml
2018-01-11 13:03:41,205 - File['/etc/ams-hbase/conf/hbase-policy.xml']
{'owner': 'ams', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode':
None, 'encoding': 'UTF-8'}
2018-01-11 13:03:41,207 - Writing File['/etc/ams-hbase/conf/hbase-policy.xml']
because contents don't match
2018-01-11 13:03:41,213 - File['/etc/ams-hbase/conf/hbase-env.sh'] {'content':
InlineTemplate(...), 'owner': 'ams'}
2018-01-11 13:03:41,215 - Writing File['/etc/ams-hbase/conf/hbase-env.sh']
because contents don't match
2018-01-11 13:03:41,219 -
File['/etc/ams-hbase/conf/hadoop-metrics2-hbase.properties'] {'content':
Template('hadoop-metrics2-hbase.properties.j2'), 'owner': 'ams', 'group':
'hadoop'}
2018-01-11 13:03:41,220 - Writing
File['/etc/ams-hbase/conf/hadoop-metrics2-hbase.properties'] because contents
don't match
2018-01-11 13:03:41,220 - TemplateConfig['/etc/ams-hbase/conf/regionservers']
{'owner': 'ams', 'template_tag': None}
2018-01-11 13:03:41,222 - File['/etc/ams-hbase/conf/regionservers'] {'content':
Template('regionservers.j2'), 'owner': 'ams', 'group': None, 'mode': None}
2018-01-11 13:03:41,223 - Writing File['/etc/ams-hbase/conf/regionservers']
because it doesn't exist
2018-01-11 13:03:41,223 - Changing owner for /etc/ams-hbase/conf/regionservers
from 0 to ams
2018-01-11 13:03:41,223 - Directory['/var/run/ambari-metrics-collector/']
{'owner': 'ams', 'create_parents': True, 'mode': 0755, 'cd_access': 'a'}
2018-01-11 13:03:41,224 - Creating directory
Directory['/var/run/ambari-metrics-collector/'] since it doesn't exist.
2018-01-11 13:03:41,224 - Changing owner for /var/run/ambari-metrics-collector/
from 0 to ams
2018-01-11 13:03:41,225 - Directory['/var/log/ambari-metrics-collector']
{'owner': 'ams', 'create_parents': True, 'mode': 0755, 'cd_access': 'a'}
2018-01-11 13:03:41,225 - Creating directory
Directory['/var/log/ambari-metrics-collector'] since it doesn't exist.
2018-01-11 13:03:41,225 - Changing owner for /var/log/ambari-metrics-collector
from 0 to ams
2018-01-11 13:03:41,225 - Directory['/var/lib/ambari-metrics-collector/hbase']
{'owner': 'ams', 'create_parents': True, 'recursive_ownership': True,
'cd_access': 'a'}
2018-01-11 13:03:41,225 - Creating directory
Directory['/var/lib/ambari-metrics-collector/hbase'] since it doesn't exist.
2018-01-11 13:03:41,226 - Changing owner for
/var/lib/ambari-metrics-collector/hbase from 0 to ams
2018-01-11 13:03:41,226 -
File['/var/run/ambari-metrics-collector//distributed_mode'] {'owner': 'ams',
'action': ['delete']}
2018-01-11 13:03:41,228 - File['/etc/ams-hbase/conf/log4j.properties']
{'content': InlineTemplate(...), 'owner': 'ams', 'group': 'hadoop', 'mode':
0644}
2018-01-11 13:03:41,229 - Writing File['/etc/ams-hbase/conf/log4j.properties']
because contents don't match
2018-01-11 13:03:41,230 - Directory['/etc/ams-hbase/conf'] {'owner': 'ams',
'group': 'hadoop', 'create_parents': True, 'recursive_ownership': True}
2018-01-11 13:03:41,230 -
Directory['/var/lib/ambari-metrics-collector/hbase-tmp'] {'owner': 'ams',
'create_parents': True, 'recursive_ownership': True, 'cd_access': 'a'}
2018-01-11 13:03:41,230 -
Directory['/var/lib/ambari-metrics-collector/hbase-tmp/local/jars'] {'owner':
'ams', 'group': 'hadoop', 'create_parents': True, 'mode': 0775, 'cd_access':
'a'}
2018-01-11 13:03:41,231 - File['/etc/ams-hbase/conf/core-site.xml'] {'owner':
'ams', 'action': ['delete']}
2018-01-11 13:03:41,231 - File['/etc/ams-hbase/conf/hdfs-site.xml'] {'owner':
'ams', 'action': ['delete']}
2018-01-11 13:03:41,231 - XmlConfig['hbase-site.xml'] {'owner': 'ams', 'group':
'hadoop', 'conf_dir': '/etc/ams-hbase/conf', 'configuration_attributes':
{'final': {'hbase.zookeeper.quorum': 'true'}}, 'configurations': ...}
2018-01-11 13:03:41,237 - Generating config: /etc/ams-hbase/conf/hbase-site.xml
2018-01-11 13:03:41,237 - File['/etc/ams-hbase/conf/hbase-site.xml'] {'owner':
'ams', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None,
'encoding': 'UTF-8'}
2018-01-11 13:03:41,264 - XmlConfig['hbase-policy.xml'] {'owner': 'ams',
'group': 'hadoop', 'conf_dir': '/etc/ams-hbase/conf',
'configuration_attributes': {}, 'configurations':
{'security.masterregion.protocol.acl': '*', 'security.admin.protocol.acl': '*',
'security.client.protocol.acl': '*'}}
2018-01-11 13:03:41,270 - Generating config:
/etc/ams-hbase/conf/hbase-policy.xml
2018-01-11 13:03:41,270 - File['/etc/ams-hbase/conf/hbase-policy.xml']
{'owner': 'ams', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode':
None, 'encoding': 'UTF-8'}
2018-01-11 13:03:41,280 - File['/etc/ams-hbase/conf/hbase-env.sh'] {'content':
InlineTemplate(...), 'owner': 'ams'}
2018-01-11 13:03:41,283 -
File['/etc/ams-hbase/conf/hadoop-metrics2-hbase.properties'] {'content':
Template('hadoop-metrics2-hbase.properties.j2'), 'owner': 'ams', 'group':
'hadoop'}
2018-01-11 13:03:41,283 - TemplateConfig['/etc/ams-hbase/conf/regionservers']
{'owner': 'ams', 'template_tag': None}
2018-01-11 13:03:41,284 - File['/etc/ams-hbase/conf/regionservers'] {'content':
Template('regionservers.j2'), 'owner': 'ams', 'group': None, 'mode': None}
2018-01-11 13:03:41,285 - Directory['/var/run/ambari-metrics-collector/']
{'owner': 'ams', 'create_parents': True, 'mode': 0755, 'cd_access': 'a'}
2018-01-11 13:03:41,285 - Directory['/var/log/ambari-metrics-collector']
{'owner': 'ams', 'create_parents': True, 'mode': 0755, 'cd_access': 'a'}
2018-01-11 13:03:41,287 - File['/etc/ams-hbase/conf/log4j.properties']
{'content': InlineTemplate(...), 'owner': 'ams', 'group': 'hadoop', 'mode':
0644}
2018-01-11 13:03:41,288 - Directory['/etc/ambari-metrics-collector/conf']
{'owner': 'ams', 'group': 'hadoop', 'create_parents': True,
'recursive_ownership': True}
2018-01-11 13:03:41,288 - Changing owner for /etc/ambari-metrics-collector/conf
from 0 to ams
2018-01-11 13:03:41,288 - Changing group for /etc/ambari-metrics-collector/conf
from 0 to hadoop
2018-01-11 13:03:41,289 -
Directory['/var/lib/ambari-metrics-collector/checkpoint'] {'owner': 'ams',
'group': 'hadoop', 'create_parents': True, 'recursive_ownership': True,
'cd_access': 'a'}
2018-01-11 13:03:41,289 - Creating directory
Directory['/var/lib/ambari-metrics-collector/checkpoint'] since it doesn't
exist.
2018-01-11 13:03:41,289 - Changing owner for
/var/lib/ambari-metrics-collector/checkpoint from 0 to ams
2018-01-11 13:03:41,289 - Changing group for
/var/lib/ambari-metrics-collector/checkpoint from 0 to hadoop
2018-01-11 13:03:41,289 - XmlConfig['ams-site.xml'] {'owner': 'ams', 'group':
'hadoop', 'conf_dir': '/etc/ambari-metrics-collector/conf',
'configuration_attributes': {}, 'configurations': ...}
2018-01-11 13:03:41,296 - Generating config:
/etc/ambari-metrics-collector/conf/ams-site.xml
2018-01-11 13:03:41,296 -
File['/etc/ambari-metrics-collector/conf/ams-site.xml'] {'owner': 'ams',
'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding':
'UTF-8'}
2018-01-11 13:03:41,339 - Writing
File['/etc/ambari-metrics-collector/conf/ams-site.xml'] because contents don't
match
2018-01-11 13:03:41,339 - XmlConfig['ssl-server.xml'] {'owner': 'ams', 'group':
'hadoop', 'conf_dir': '/etc/ambari-metrics-collector/conf',
'configuration_attributes': {}, 'configurations': ...}
2018-01-11 13:03:41,346 - Generating config:
/etc/ambari-metrics-collector/conf/ssl-server.xml
2018-01-11 13:03:41,346 -
File['/etc/ambari-metrics-collector/conf/ssl-server.xml'] {'owner': 'ams',
'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding':
'UTF-8'}
2018-01-11 13:03:41,351 - Writing
File['/etc/ambari-metrics-collector/conf/ssl-server.xml'] because it doesn't
exist
2018-01-11 13:03:41,351 - Changing owner for
/etc/ambari-metrics-collector/conf/ssl-server.xml from 0 to ams
2018-01-11 13:03:41,351 - Changing group for
/etc/ambari-metrics-collector/conf/ssl-server.xml from 0 to hadoop
2018-01-11 13:03:41,351 - XmlConfig['hbase-site.xml'] {'owner': 'ams', 'group':
'hadoop', 'conf_dir': '/etc/ambari-metrics-collector/conf',
'configuration_attributes': {'final': {'hbase.zookeeper.quorum': 'true'}},
'configurations': ...}
2018-01-11 13:03:41,357 - Generating config:
/etc/ambari-metrics-collector/conf/hbase-site.xml
2018-01-11 13:03:41,357 -
File['/etc/ambari-metrics-collector/conf/hbase-site.xml'] {'owner': 'ams',
'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding':
'UTF-8'}
2018-01-11 13:03:41,384 - Writing
File['/etc/ambari-metrics-collector/conf/hbase-site.xml'] because contents
don't match
2018-01-11 13:03:41,385 -
File['/etc/ambari-metrics-collector/conf/log4j.properties'] {'content':
InlineTemplate(...), 'owner': 'ams', 'group': 'hadoop', 'mode': 0644}
2018-01-11 13:03:41,387 - Writing
File['/etc/ambari-metrics-collector/conf/log4j.properties'] because contents
don't match
2018-01-11 13:03:41,390 - File['/etc/ambari-metrics-collector/conf/ams-env.sh']
{'content': InlineTemplate(...), 'owner': 'ams'}
2018-01-11 13:03:41,391 - Writing
File['/etc/ambari-metrics-collector/conf/ams-env.sh'] because contents don't
match
2018-01-11 13:03:41,392 - Directory['/var/log/ambari-metrics-collector']
{'owner': 'ams', 'group': 'hadoop', 'create_parents': True, 'mode': 0755,
'cd_access': 'a'}
2018-01-11 13:03:41,392 - Changing group for /var/log/ambari-metrics-collector
from 0 to hadoop
2018-01-11 13:03:41,392 - Directory['/var/run/ambari-metrics-collector']
{'owner': 'ams', 'group': 'hadoop', 'create_parents': True, 'mode': 0755,
'cd_access': 'a'}
2018-01-11 13:03:41,392 - Changing group for /var/run/ambari-metrics-collector
from 0 to hadoop
2018-01-11 13:03:41,393 - File['/usr/lib/ams-hbase/bin/hadoop'] {'owner':
'ams', 'mode': 0755}
2018-01-11 13:03:41,393 - Writing File['/usr/lib/ams-hbase/bin/hadoop'] because
it doesn't exist
2018-01-11 13:03:41,394 - Changing owner for /usr/lib/ams-hbase/bin/hadoop from
0 to ams
2018-01-11 13:03:41,394 - Changing permission for /usr/lib/ams-hbase/bin/hadoop
from 644 to 755
2018-01-11 13:03:41,394 - Directory['/etc/security/limits.d'] {'owner': 'root',
'create_parents': True, 'group': 'root'}
2018-01-11 13:03:41,397 - File['/etc/security/limits.d/ams.conf'] {'content':
Template('ams.conf.j2'), 'owner': 'root', 'group': 'root', 'mode': 0644}
2018-01-11 13:03:41,397 - Writing File['/etc/security/limits.d/ams.conf']
because it doesn't exist
2018-01-11 13:03:41,398 - Execute['/usr/lib/ams-hbase/bin/hbase-daemon.sh
--config /etc/ams-hbase/conf stop regionserver'] {'on_timeout': 'ls
/var/run/ambari-metrics-collector//hbase-ams-regionserver.pid >/dev/null 2>&1
&& ps `cat /var/run/ambari-metrics-collector//hbase-ams-regionserver.pid`
>/dev/null 2>&1 && ambari-sudo.sh -H -E kill -9 `ambari-sudo.sh cat
/var/run/ambari-metrics-collector//hbase-ams-regionserver.pid`', 'timeout': 30,
'user': 'ams'}
2018-01-11 13:03:41,448 -
File['/var/run/ambari-metrics-collector//hbase-ams-regionserver.pid']
{'action': ['delete']}
2018-01-11 13:03:41,449 - Execute['/usr/sbin/ambari-metrics-collector --config
/etc/ambari-metrics-collector/conf stop'] {'user': 'ams'}
2018-01-11 13:03:41,505 - Execute['ambari-sudo.sh rm -rf
/var/lib/ambari-metrics-collector/hbase-tmp/*.tmp'] {}
2018-01-11 13:03:41,511 -
File['/etc/ambari-metrics-collector/conf/core-site.xml'] {'owner': 'ams',
'action': ['delete']}
2018-01-11 13:03:41,511 -
File['/etc/ambari-metrics-collector/conf/hdfs-site.xml'] {'owner': 'ams',
'action': ['delete']}
2018-01-11 13:03:41,512 - Execute['/usr/sbin/ambari-metrics-collector --config
/etc/ambari-metrics-collector/conf start'] {'user': 'ams'}
2018-01-11 13:08:55,668 - Skipping stack-select on AMBARI_METRICS because it
does not exist in the stack-select package structure.
Command failed after 1 tries
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)