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

authorization_explain.q fails when run in sequence

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Authorization, Tests
    • None

    Description

      NO PRECOMMIT TESTS

      The test seems to be picking up some state changed by another test , as it fails only when run in sequence. (cd itests; mvn install test -Dtest=TestCliDriver -Dqfile_regex=.authorization. -Phadoop-2 -Dtest.output.overwrite=true)

      The diff -

      --- a/ql/src/test/results/clientpositive/authorization_explain.q.out
      +++ b/ql/src/test/results/clientpositive/authorization_explain.q.out
      @@ -16,9 +16,6 @@ CURRENT_USER:
         hive_test_user
       OPERATION: 
         QUERY
      -AUTHORIZATION_FAILURES: 
      -  No privilege 'Select' found for inputs { database:default, table:srcpart, columnName:key}
      -  No privilege 'Select' found for inputs { database:default, table:src, columnName:key}
       Warning: Shuffle Join JOIN[4][tables = [src, srcpart]] in Stage 'Stage-1:MAPRED' is a cross product
       PREHOOK: query: explain formatted authorization select * from src join srcpart
       PREHOOK: type: QUERY
      

      Attachments

        1. HIVE-7317.1.patch.txt
          3 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: