David Mollitor created HIVE-25241: ------------------------------------- Summary: Simplify Metrics System Key: HIVE-25241 URL: https://issues.apache.org/jira/browse/HIVE-25241 Project: Hive Issue Type: Improvement Reporter: David Mollitor Assignee: David Mollitor
Took a look at the {{Metrics}} stuff in Hive and found a lot of boilerplate code on the client code to interact with Metrics. It's too much stuff and it's done differently in different places. * Never allow Metrics System to be "null" - supply a no-op version by default * Metrics system should never throw an error to the client, just log-and-ignore. Metrics shouldn't break a query or other operation * General cleanup -- This message was sent by Atlassian Jira (v8.3.4#803005)