mirror of https://github.com/apache/druid.git
177e1856cd
GCP allows bucket names to contain underscores. When a location in such a bucket is mapped to `java.net.URI`, `URI.getHost()` returns null. `URI.getHost()` is used as the bucket name in `CloudObjectLocation`, leading to an NPE. This commit uses `URI.getAuthority()` as the bucket name if `URI.getHost()` is null. |
||
---|---|---|
.. | ||
src | ||
pom.xml |