sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravya Tirukkovalur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-56) CREATE EXTERNAL TABLE on hdfs requires fully qualified URI in the command
Date Sat, 02 Nov 2013 20:55:18 GMT

     [ https://issues.apache.org/jira/browse/SENTRY-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sravya Tirukkovalur updated SENTRY-56:
--------------------------------------

    Attachment: SENTRY-56-test.patch

Attaching a test case

> 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
>         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.1#6144)

Mime
View raw message