NICTA / scoobi

A Scala productivity framework for Hadoop.
http://nicta.github.com/scoobi/
482 stars 97 forks source link

Add to testing examples to Developer guide #227

Closed espringe closed 11 years ago

espringe commented 11 years ago

When you get the chance, it would be useful to have a few examples on the Scoobi Developer pages of different commands to run the tests. (Assuming that testing scoobi is intentionally different than testing scoobi apps) For instance, running select specs, how to only run a particular tag, how to use inmemory mode, and local mode.

And I'm not sure if its a bug, or I'm just retarded -- but I seriously can't figure it out how to do even run: test-only *DListSpec* (it just freezes), or use the other options available to an application that uses scoobi.

espringe commented 11 years ago

" but I seriously can't figure it out how to do even run: test-only DListSpec (it just freezes)"

Ok. That was my fault (sort of). Hadoop doesn't use "localhost" but rather .getLocalHost() and hits that address. But in my case, it was returning a host that couldn't be resolved -- I added an entry into /etc/hosts and suddenly that works.