title: when cloudera manage agent installing, No module named cmf.alternatives error occured
body: <p>I am installing cloudera cluster for first time.</p>
  
  <p>On the Cluster Installing page, Show some messages like:</p>
  
  <pre><code>Installation failed. Failed to receive heartbeat from agent.
  
       Ensure that the host's hostname is configured properly.
  
       Ensure that port 7182 is accessible on the Cloudera Manager server (check firewall rules).
  
       Ensure that ports 9000 and 9001 are free on the host being added.
  
       Check agent logs in /var/log/cloudera-scm-agent/ on the host being added (some of the logs can be found in the installation details).
  </code></pre>
  
  <p><strong>Then in the log file, I found:</strong> </p>
  
  <pre><code>[21/Oct/2014 05:29:54 +0000] 9155 MainThread agent ERROR Failed to connect to previous supervisor.
  .....
  
  SystemExit: 2
  </code></pre>
  
  <p><strong>In the /var/log/cloudera-scm-agent/cloudera-scm-agent.out file, I found:</strong></p>
  
  <pre><code>[21/Oct/2014 11:29:15 +0000] 1658 MainThread agent        INFO     Logging to /var/log/cloudera-scm-agent/cloudera-scm-agent.log
  Error: could not find config file /var/run/cloudera-scm-agent/supervisor/supervisord.conf
  For help, use /usr/lib64/cmf/agent/src/cmf/agent.py -h
  
  ....
  
  Session terminated, killing shell... ...killed.
  </code></pre>
  
  <p><strong>And I run :</strong> /usr/lib64/cmf/agent/src/cmf/agent.py -h</p>
  
  <p><strong><em>The System tell me :</em></strong></p>
  
  <pre><code>/usr/lib64/cmf/agent/src/cmf/agent.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  
  import sha
  
  Traceback (most recent call last):
  
  File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 40, in &lt;module&gt;
  
      import cmf.alternatives
  
  ImportError: No module named cmf.alternatives
  </code></pre>
  
  <p><strong>My ENV is:</strong> centos 6.5, Python 2.6.6, Cloudera manage server is 5.2</p>
  
  <p>So, I want to know which module/modules would be installed to fix this error.</p>
  
  <p>Or How to config to use the cmf module in the installion?</p>
  
  <p>And where I can find a doc which describe the python for the cloudera?<br>
     Thank a lot.  </p>