[
https://issues.apache.org/jira/browse/SENTRY-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ranjana Rajendran reassigned SENTRY-56:
---------------------------------------
Assignee: Ranjana Rajendran
> CREATE EXTERNAL TABLE on hdfs requires fully qualified URI in the command
> -------------------------------------------------------------------------
>
> Key: SENTRY-56
> URL: https://issues.apache.org/jira/browse/SENTRY-56
> Project: Sentry
> Issue Type: Bug
> Reporter: Sravya Tirukkovalur
> Assignee: Ranjana Rajendran
> Attachments: SENTRY-56-test.patch
>
>
> [roles]
> dfs_uri_all = server=server1->uri=hdfs://host:port/path
> These commands fail:
> CREATE EXTERNAL TABLE extab1(id INT) LOCATION 'hdfs:///path'
> CREATE EXTERNAL TABLE extab1(id INT) LOCATION '/path'
> Providing the fully qualified path in the command works:
> CREATE EXTERNAL TABLE extab1(id INT) LOCATION 'hdfs://host:port/path'
> We do document that we require fully qualified URI's in the policy file. But
> we do not document that users need to use fully qualified URIs in the
> commands.
--
This message was sent by Atlassian JIRA
(v6.2#6252)