Sai Hemanth Gantasala created HIVE-24118:
--------------------------------------------

             Summary: Remove the unnecessary try/catch blocks in the 
TestHiveMetaStoreAuthorizer
                 Key: HIVE-24118
                 URL: https://issues.apache.org/jira/browse/HIVE-24118
             Project: Hive
          Issue Type: Bug
            Reporter: Sai Hemanth Gantasala
            Assignee: Sai Hemanth Gantasala


The catch-all exception in a lot of test cases in TestHiveMetaStoreAuthorizer 
is not good and can give false positive (eg. testD_CreateView_SuperUser), since 
the test will pass in case there is a MetaException thrown. The test added will 
pass without code modifications in the HiveMetastoreAuthorizer as well and 
hence it is not really a good regression test. Would be good to fix them up as 
well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to