Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run examples with errors. #74

Open
linkerlin opened this issue Jan 13, 2013 · 1 comment
Open

Run examples with errors. #74

linkerlin opened this issue Jan 13, 2013 · 1 comment

Comments

@linkerlin
Copy link

/usr/local/hadoopy/examples/l1-basic-with-hadoop/ex0-wordcount$ python driver.py
WARNING:root:13/01/13 15:15:27 WARN streaming.StreamJob: -jobconf option is deprecated, please use -D instead.
Traceback (most recent call last):
File "driver.py", line 21, in
word_counts = dict(hadoopy.readtb(output_path))
File "/usr/local/lib/python2.7/dist-packages/hadoopy-0.6.0-py2.7-linux-i686.egg/hadoopy/_hdfs.py", line 341, in readtb
yield tp_fp.next()
File "_typedbytes.pyx", line 603, in _hadoopy_typedbytes.TypedBytesFile.next (hadoopy/_typedbytes.c:4924)
File "_typedbytes.pyx", line 515, in _hadoopy_typedbytes.__read_key_value_tb (hadoopy/_typedbytes.c:3713)
File "_typedbytes.pyx", line 511, in _hadoopy_typedbytes._read_tb_code (hadoopy/_typedbytes.c:3670)

IndexError: Bad index 47

It's a strange thing.

@linkerlin
Copy link
Author

I guess my hadoop cluster is broken. But the error message is misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant