Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-56

CREATE EXTERNAL TABLE on hdfs requires fully qualified URI in the command

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      [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.

      Attachments

        1. SENTRY-56-test.patch
          3 kB
          Sravya Tirukkovalur

        Issue Links

          Activity

            People

              ranjana_rajendran Ranjana Rajendran
              sravya Sravya Tirukkovalur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: