hadoop - Cloudera CDH3 installation failure, how to get around this? -


I am trying to install CHD3 on 3 node clusters. I launch the establishments through the Claudera manager. I see this error after failing all three installation failed

Claudera installation /var/log/cloudera-scm-agent/cloudera-scm-agent.out:

  File "/ usr /lib64/cmf/agent/src/cmf/agent.py", in line 19, in the & lt; Module & gt; Import the psutil file "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/psutil-0.3.0-py2.6-linux-x86_64.egg/psutil/__init__.py" , Line 84, & lt; Module & gt; TOTAL_PHYMEM = _psplatform.phymem_usage () [0] file "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/psutil-0.3.0-py2.6-linux-x86_64.egg /psutil/_pslinux.py ", line 122, phymem_usage percent = usage_parent (total - (free + buffers + cached), total, type error: +: 'int' and 'any type' unsupported operand type ( S)   

The Python interpreter running on startup is not seen as "free", "buffers", or "cached" in any form and this error To roll back the whole installation

Can someone give advice on why this problem is and / or there is a way around the problem?

Thank you in advance. The problem is in _pslinux.py:

  def phymem_usage () in /phony_usage (): / div> 

# Full, usage and free values ​​are matched to the free cmdline utility. # Matches the top / htop and gnome-system-monitor f = open ('/ proc / meminfo', 'r'), try: None for the line in total = free = buffers = cached = f: if line.sta Rtsw Ith ('MemTotal:'): total = int (line.split () [1]) * 1024 elif line.startswith ('MemFree:'): free = int (line.split () [1]) * 1024 Eleph Line.startswith ('buffers:'): buffers = int (line split () [1]) * 1024 elife line. Startswidth ('Cached:'): Cached = Int (line split () [1]) * 1024 used brake = total-free percent = usage_parent (total - (free + buffers + cached), total, _round = 1) Return ntuple_sysmeminfo (total, used, free, percent) Finally: f.close ()

Note that this is checking / proc / meminfo and without checking it, the field Converting to an integer if those fields are present. Some virtualization technologies may disappear on some systems, including buffers or caches (LSB speck tells that most of these options are optional.)

Quick correction / proc / meminfo / tmp / meminfo, "cat / Proc / meminfo "/ tmp / meminfo", and add a line like this:

Buffer: 0 KB

Comments