Ambari Metrics Server not coming up with HDP 2.5 sandbox on my Virtual Box VM, anybody having a similar problem? OSError: [Errno 2] No such file or directory: '/var/lib/ambari-metrics-collector/hbase-tmp/Jetty_0_0_0_0_61310_master____36m3iw/.active' - log below.
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py", line 148, in <module> AmsCollector().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_collector.py", line 46, in start self.configure(env, action = 'start') # for security File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py", line 41, in configure hbase('master', action) File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk return fn(*args, **kwargs) File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/hbase.py", line 105, in hbase recursive_ownership = True, File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 199, in action_create recursion_follow_links=self.resource.recursion_follow_links, safemode_folders=self.resource.safemode_folders) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 73, in _ensure_metadata sudo.chown_recursive(path, _user_entity, _group_entity, recursion_follow_links) File "/usr/lib/python2.6/site-packages/resource_management/core/sudo.py", line 53, in chown_recursive
os.lchown(os.path.join(root, name), uid, gid)
Considering final sandbox version was released 9/23, it's worth downloading the latest rather than deal with issues in pre-release.
Hi Artem, trying the new virtual box VM, one I had was same build, oh well, different issue, with zookeeper/hbase it looks like, does not start, with no stderr per se, log showing below. Few threads on this, let you know if I figure it out, input welcome
2016-09-26 19:06:47,804 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server sandbox.hortonworks.com/172.17.0.2:61181. Will not attempt to authenticate using SASL (unknown error)
2016-09-26 19:06:47,804 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)