Reply
Highlighted
New Contributor
Posts: 1
Registered: ‎07-04-2019

Cloudera manager 6.2 install agent fails due to non existing FS

The install agent step of cluster creation fails with my CentOS 7.6.1810 and the logs says it is has to do with /run/user/0 that does not exists on my system. Any advice on how to disable this check or have this directory created ?

 

# service cloudera-scm-agent status
Redirecting to /bin/systemctl status cloudera-scm-agent.service
● cloudera-scm-agent.service - Cloudera Manager Agent Service
Loaded: loaded (/usr/lib/systemd/system/cloudera-scm-agent.service; enabled; vendor preset: disabled)
Active: active (running) since jeu. 2019-07-04 18:14:41 CEST; 18min ago
Main PID: 16346 (cmagent)
CGroup: /system.slice/cloudera-scm-agent.service
└─16346 /usr/bin/python2 /opt/cloudera/cm-agent/bin/cm agent

juil. 04 18:28:55 localhost.localdomain cm[16346]: self.run()
juil. 04 18:28:55 localhost.localdomain cm[16346]: File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
juil. 04 18:28:55 localhost.localdomain cm[16346]: self._target(*self._args, **self._kwargs)
juil. 04 18:28:55 localhost.localdomain cm[16346]: File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/cmf/monitor/host/filesystem_map.py", line 27, in disk_usage_wrapper
juil. 04 18:28:55 localhost.localdomain cm[16346]: usage = psutil.disk_usage(p)
juil. 04 18:28:55 localhost.localdomain cm[16346]: File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/psutil/__init__.py", line 1947, in disk_usage
juil. 04 18:28:55 localhost.localdomain cm[16346]: return _psplatform.disk_usage(path)
juil. 04 18:28:55 localhost.localdomain cm[16346]: File "/opt/cloudera/cm-agent/lib/python2.7/site-packages/psutil/_psposix.py", line 131, in disk_usage
juil. 04 18:28:55 localhost.localdomain cm[16346]: st = os.statvfs(path)
juil. 04 18:28:55 localhost.localdomain cm[16346]: OSError: [Errno 2] No such file or directory: '/run/user/0'