aasha commented on a change in pull request #1550:
URL: https://github.com/apache/hive/pull/1550#discussion_r499533749



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AlterDatabaseHandler.java
##########
@@ -77,9 +79,22 @@
         alterDbDesc = new AlterDatabaseSetOwnerDesc(actualDbName, new 
PrincipalDesc(newDb.getOwnerName(),
             newDb.getOwnerType()), context.eventOnlyReplicationSpec());
       }
+      Path metricPath = null;
+      ReplicationMetricCollector metricCollector = null;
+      try{
+        metricPath = ReplUtils.getMetricPath(context, context.hiveConf);

Review comment:
       you are passing the context already. hiveconf is part of that




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to