Throw an exception if no namenode host is specified