i have installed hdp on 12 node cluster. used hortonworks automated ambari install. working except ambari metrics collector. third time trying install, having attempted customize distribution locations of of components. each time getting errors couldn't isolate did reformat of machines , tried again, each time simplifying things. last time made no alterations except location of hive , oozie databases. keep having same problem metrics collector not starting. have run out of ideas. error file @ /var/lib/ambari-agent/data/errors-376.txt:
traceback (most recent call last): file "/var/lib/ambari-agent/cache/common-services/ambari_metrics/0.1.0/package/scripts/metrics_collector.py", line 131, in <module> amscollector().execute() file "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute method(env) ... file "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 891, in render return self.environment.handle_exception(exc_info, true) file "<template>", line 5, in top-level template code unicodeencodeerror: 'ascii' codec can't encode character u'\u2028' in position 1341: ordinal not in range(128)
i not sure if hanging trying read u/'u2028' character in template can't find, or else? see following in stdout @ /var/lib/ambari-agent/data/output-376.txt:
... 2016-04-06 06:55:20,967 - generating config: /etc/ambari-metrics-collector/conf/ams-site.xml 2016-04-06 06:55:20,968 - file['/etc/ambari-metrics-collector/conf/ams-site.xml'] {'owner': 'ams', 'content': inlinetemplate(...), 'group': 'hadoop', 'mode': none, 'encoding': 'utf-8'}
here wonder why file not rest of config files located @ /etc/hadoop/conf/ or /usr/hdp/current/hadoop-client/conf/
i feel has simple mistake in settings because have had cluster running fine on virtual machines using automated install months. install, though larger, on bare metal machines of larger capacity. there somewhere else should looking answers? or direction.
oh yes,.. getting 3 connection errors:
fqdn:61310 connection failed [errno 111] connection refused 0.0.0.0:6188 connection failed [errno 111] connection refused fqdn:61181 connection failed [errno 111] connection refused
i got ambari metrics run, @ least temprarily,.. changing it's mode distributed embedded. insodoing, saved configuration changes, new recommendations offered switched value of hbase_regionserver_heaqpsize , metrics_collector_heapsize several times. after 3 or 4 rounds of changing values choose proceed anyways , far working.
Comments
Post a Comment