Closed amrutagokhale closed 7 years ago
Please make line breaks in the commit message at ~75 characters.
Also, the title should be 50 or fewer characters
Oh sorry, you had two commits so the top explanation there isn't the commit message. you're fine.
LGTM
@ArturGajowy I added the config file. Thanks for the suggestion. Will squash the fixup commit later.
In order to be able run Hive authorization commands (in product tests or otherwise), we need to enable SQL standards based Hive authorization. As per the document here https://cwiki.apache.org/confluence/display/Hive/SQL+Standard+Based+Hive+Authorization#SQLStandardBasedHiveAuthorization-ForHive0.14andNewer, this requires making configuration changes to two files: hive-site.xml and hive-server2.conf.
We want to restrict making these changes only to one profile, singlenode-kerberos-hdfs-impersonation, which is the same profile under which product tests under
AUTHORIZATION
group run. This will ensure that only the profile specific tests will run with Hive authorization turned ON; all other tests will not be affected.I will later add a commit to bump the version.
I have manually verified that with the locally built image with these changes, I can run Hive authorization commands from inside Presto product test.