Description
Create table/index/database and add partition DDL doesn't work properly if all following conditions are true:
- Metastore service is used
- fs.default.name is specified and it differs from the default one
- Location is not specified or specified as a not fully qualified URI
The root cause of this behavior is that Hive client doesn't pass configuration context to the metastore services which tries to resolve the paths. The fix is it too resolve the path in the Hive client if fs.default.name is specified and it differs from the default one (it is must easier then start passing the context, which would be a major change).
The CR will submitted shortly after tests are done