Hi, Boyu, I have setup a cluster using Python 2.6.1 without any problem. It works fine now. But I met the problem on the other cluster in which I believe the python version is 2.4.3.
On Mon, Mar 22, 2010 at 4:35 PM, Boyu Zhang <[email protected]> wrote: > Dear All, > > sorry to bother again. I overcame the > > Uncaught Exception : need more than 2 values to unpack > > > by export HOD_PYTHON_HOME. But now I had a new error. > > $ bin/hod allocate -d /home/zhang/cluster -n 4 -c > /home/zhang/hadoop-0.20.2/contrib/hod/conf/hodrc -t > /home/zhang/hadoop-0.20.2.tar.gz > > /home/zhang/hadoop-0.20.2/contrib/hod/hodlib/Common/threads.py:19: > DeprecationWarning: The popen2 module is deprecated. Use the subprocess > module. > from popen2 import Popen4, Popen3, MAXFD > /home/zhang/hadoop-0.20.2/contrib/hod/hodlib/Common/desc.py:21: > DeprecationWarning: the sets module is deprecated > from sets import Set > Traceback (most recent call last): > File "hod", line 408, in <module> > options=hodOptions) > File "/home/zhang/hadoop-0.20.2/contrib/hod/hodlib/Common/setup.py", line > 449, in __init__ > self.read(configFile) > File "/opt/python/2.6.5/lib/python2.6/ConfigParser.py", line 286, in read > self._read(fp, filename) > File "/opt/python/2.6.5/lib/python2.6/ConfigParser.py", line 475, in _read > cursect = self._dict() > TypeError: 'dict' object is not callable > > *Is that because I am using python version 2.6.5 instead of 2.5.1?* Thanks > a > lot for the time! > > Boyu >
