Issues getting Dumbo to work

55 views
Skip to first unread message

Robert

unread,
Jun 16, 2011, 2:35:59 PM6/16/11
to dumbo-user
I'm just starting to use Dumbo, and I haven't been able to get the
example code to run yet. In the example directory, I run the following
command:

python ./wordcount.py map < ./brian.txt | sort | \ python wordcount.py
red > wc_output.txt

I get the following output:

Traceback (most recent call last):
File "./wordcount.py", line 13, in <module>
dumbo.run(mapper,reducer,reducer)
File "build/bdist.linux-x86_64/egg/dumbo/core.py", line 240, in run
File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'dumbo_mrbase_class'
Command 'python' is available in '/usr/bin/python'
python: command not found

I'm attempting to run this on Ubuntu 10.04. I've tried running it with
both Python 2.6 and Python 2.7, and I've tried installing Dumbo via
ez_install and from source. I get the same error regardless of the
version of Python being used or the method of Dumbo install. A couple
of google searches and perusing the issues tracker yielded no
information. Any suggestions?

Thanks!

Robert

unread,
Jun 16, 2011, 6:29:27 PM6/16/11
to dumbo-user
I just tested this on Mac OS X 10.6 with Python 2.6 with Dumbo
installed via easy install, and the issue persists.

Thanks!
Robert

Robert

unread,
Jun 16, 2011, 7:25:35 PM6/16/11
to dumbo-user
I solved the issue. I was getting my information about how to run
dumbo programs from an old blog post (and the first Google search
result for dumbo hadoop) instead of the wiki.

Thanks,
Robert

Klaas Bosteels

unread,
Jun 17, 2011, 3:45:48 AM6/17/11
to dumbo...@googlegroups.com
Yup, glad you figured it out.. :)

-K

> --
> You received this message because you are subscribed to the Google Groups "dumbo-user" group.
> To post to this group, send email to dumbo...@googlegroups.com.
> To unsubscribe from this group, send email to dumbo-user+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/dumbo-user?hl=en.
>

Reply all
Reply to author
Forward
0 new messages