When I run the tests, I got :
~/gits/hadoopy/tests$ python test_examples.py
word_counts[the] = 1664
word_counts[Alice] = 221
word_counts[tree] = 3
.EE
ERROR: test_l1_ex0 (main.Test)
Traceback (most recent call last):
File "test_examples.py", line 60, in test_l1_ex0
exec(open('driver.py').read())
File "", line 17, in
File "/usr/local/lib/python2.7/dist-packages/hadoopy-0.6.0-py2.7-linux-i686.egg/hadoopy/_runner.py", line 407, in launch_frozen
make_executable=False, **kw)
File "/usr/local/lib/python2.7/dist-packages/hadoopy-0.6.0-py2.7-linux-i686.egg/hadoopy/_runner.py", line 328, in launch
raise subprocess.CalledProcessError(process.returncode, ' '.join(cmd))
CalledProcessError: Command 'hadoop jar -output hadoopy-test-data/1358059389.505203/wc-output-alice -input hadoopy-test-data/1358059389.505203/wc-input-alice.tb -mapper "_frozen/wc pipe map" -reducer "_frozen/wc pipe reduce" -combiner "_frozen/wc pipe combine" -jobconf "mapred.cache.archives=_hadoopy_temp/4842037b1ff48752cd22013d132401da.tar#_frozen" -jobconf "mapred.job.name=wc" -jobconf "mapreduce.job.cache.archives=_hadoopy_temp/4842037b1ff48752cd22013d132401da.tar#_frozen" -io typedbytes -outputformat org.apache.hadoop.mapred.SequenceFileOutputFormat -inputformat AutoInputFormat' returned non-zero exit status 1
ERROR: test_l1_ex1 (main.Test)
Traceback (most recent call last):
File "test_examples.py", line 63, in test_l1_ex1
with chdir('../examples/l1-basic-with-hadoop/ex1-wordcount-writetb/'):
File "/usr/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "test_examples.py", line 41, in chdir
os.chdir(new_path)
OSError: [Errno 2] No such file or directory: '../examples/l1-basic-with-hadoop/ex1-wordcount-writetb/'
Ran 3 tests in 17.862s
FAILED (errors=2)
How can I fix it?
When I run the tests, I got :
~/gits/hadoopy/tests$ python test_examples.py
word_counts[the] = 1664
word_counts[Alice] = 221
word_counts[tree] = 3
.EE
ERROR: test_l1_ex0 (main.Test)
Traceback (most recent call last):
File "test_examples.py", line 60, in test_l1_ex0
exec(open('driver.py').read())
File "", line 17, in
File "/usr/local/lib/python2.7/dist-packages/hadoopy-0.6.0-py2.7-linux-i686.egg/hadoopy/_runner.py", line 407, in launch_frozen
make_executable=False, **kw)
File "/usr/local/lib/python2.7/dist-packages/hadoopy-0.6.0-py2.7-linux-i686.egg/hadoopy/_runner.py", line 328, in launch
raise subprocess.CalledProcessError(process.returncode, ' '.join(cmd))
CalledProcessError: Command 'hadoop jar -output hadoopy-test-data/1358059389.505203/wc-output-alice -input hadoopy-test-data/1358059389.505203/wc-input-alice.tb -mapper "_frozen/wc pipe map" -reducer "_frozen/wc pipe reduce" -combiner "_frozen/wc pipe combine" -jobconf "mapred.cache.archives=_hadoopy_temp/4842037b1ff48752cd22013d132401da.tar#_frozen" -jobconf "mapred.job.name=wc" -jobconf "mapreduce.job.cache.archives=_hadoopy_temp/4842037b1ff48752cd22013d132401da.tar#_frozen" -io typedbytes -outputformat org.apache.hadoop.mapred.SequenceFileOutputFormat -inputformat AutoInputFormat' returned non-zero exit status 1
ERROR: test_l1_ex1 (main.Test)
Traceback (most recent call last):
File "test_examples.py", line 63, in test_l1_ex1
with chdir('../examples/l1-basic-with-hadoop/ex1-wordcount-writetb/'):
File "/usr/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "test_examples.py", line 41, in chdir
os.chdir(new_path)
OSError: [Errno 2] No such file or directory: '../examples/l1-basic-with-hadoop/ex1-wordcount-writetb/'
Ran 3 tests in 17.862s
FAILED (errors=2)
How can I fix it?