Check cluster configuration for Hive and Tez (HDP 2.6.5)
Check the configuration settings for Hive and Tez in this topic if you are using HDP 2.6.5.
-
Go to Ambari > Services > Hive > CONFIGS > ADVANCED. Make sure that the Hive configurations are as follows:
- tez-interactive-site:
tez.history.logging.service.class=org.apache.tez.dag.history.logging.proto.ProtoHistoryLoggingService
- hive-site:
hive.hook.proto.base-directory={hive_metastore_warehouse_dir}/sys.db/query_data
- hiveserver2-interactive-site:
hive.exec.post.hooks=org.apache.hadoop.hive.ql.hooks.HiveProtoLoggingHook
hive.exec.pre.hooks=org.apache.hadoop.hive.ql.hooks.HiveProtoLoggingHook
hive.exec.failure.hooks=org.apache.hadoop.hive.ql.hooks.HiveProtoLoggingHook
hive.server2.transport.mode=http
- tez-interactive-site:
-
Go to Ambari > Services > Tez > CONFIGS > Custom tez-site. Make sure that the Tez configuration is as follows:
custom tez-site.xml:
tez.history.logging.proto-base-dir={hive_metastore_warehouse_dir}/sys.db/