Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18012

fix ct_noperm_loc test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      the goal of the test is to check that hive doesn't let user1 to create a table with a location under an unowned path.

      I've bisected this test to be broken by 5250ef450430fcdeed0a2cb7a770f48647987cd3 (HIVE-12408).

      the original exception was (which have been by that sole masked line):

      FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation CREATETABLE [[OBJECT OWNERSHIP] on Object [type=DFS_URI, name=hdfs://localhost:35753/tmp/ct_noperm_loc_foo0]]
      

      the current semanticexception shouldnt be accepted ; because it's unrelated to the tests goal.

      Attachments

        1. HIVE-18012.02.patch
          1 kB
          Zoltan Haindrich
        2. HIVE-18012.001.patch
          2 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: