I signed up with my bluemix credentials. My bluemix account name and org contain an underscore.
The autogenerated default project container is created with this name appended. I can therefore not connect to the object storage container through Spark because the host name is invalid as it contains an underscore. I get an exception when running the autogenerated spark credentials and connection code.
Instead there should be validation of the object storage container to ensure it contains valid host name characters.