1.hive-site.xml the Hive services advanced configuration snippet (safety valve) is added in two parameters:
hive.security.authorization.sqlstd.confwhitelist=hive.exec.pre.hooks
hive.exec.pre.hooks=org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec
2. Restart hive can