Support Questions
Find answers, ask questions, and share your expertise

Ambari Metrics Collector service error on HDP 2.5 sandbox


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/", line 148, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 280, in execute
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/", 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/", line 41, in configure
    hbase('master', action)
  File "/usr/lib/python2.6/site-packages/ambari_commons/", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/", line 105, in hbase
    recursive_ownership = True,
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 155, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 124, in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/", 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/", 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/", 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 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 Connection refused

at Method)


at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(

at org.apache.zookeeper.ClientCnxn$