PerfLogger Missing for Hive in CDH6

Recently I discovered that the performance logs were missing from both HiveServer2 and HiveMetaStore server logs. This makes troubleshooting performance related issue very hard. The log message that I am expecting is something like below: HiveServer2 Log: 2020-01-02 08:30:26,450 INFO org.apache.hadoop.hive.ql.log.PerfLogger: [HiveServer2-Background-Pool: Thread-898872]: <PERFLOG method=getSplits from=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat> 2020-01-02 08:30:26,507 INFO org.apache.hadoop.hive.ql.log.PerfLogger: …