Type: New Feature
Affects Version/s: 2.7.1, 2.6.2
Fix Version/s: None
Just a thought.
It will be great if Hadoop swift driver can support more flexible container name. Current Hadoop swift driver requires container name to follow RFC952. It will report error if container name does not obey RFC952:
"Invalid swift hostname 'test.1.serviceName': hostname must in form container.service"
However, user can use any other Swift object store drivers (cURL, cyberduck, JOSS, swift python driver, etc) to upload data to Object store but current hadoop swift driver can not recognize those containers whose names do not follow RFC952.
I dig into the source code and figure out it is because of in
public static String extractContainerName(URI uri) throws
And URI.java line 3143 gives "host = null" .
We may need to find a better way to do the container name parsing.