Throw exception if Hive thinks it's running in local mode
Simplifying  test
Merge pull request #140 from pwendell/exception

Throw exception if Hive thinks it's running in local mode