sv2000 commented on a change in pull request #2719: [GOBBLIN-863]Handle race 
condition issue for hive registration
URL: https://github.com/apache/incubator-gobblin/pull/2719#discussion_r316971288
 
 

 ##########
 File path: 
gobblin-hive-registration/src/main/java/org/apache/gobblin/hive/metastore/HiveMetaStoreBasedRegister.java
 ##########
 @@ -93,9 +98,11 @@
   public static final String CREATE_HIVE_DATABASE = 
HIVE_REGISTER_METRICS_PREFIX + "createDatabaseTimer";
   public static final String CREATE_HIVE_TABLE = HIVE_REGISTER_METRICS_PREFIX 
+ "createTableTimer";
   public static final String GET_HIVE_TABLE = HIVE_REGISTER_METRICS_PREFIX + 
"getTableTimer";
+  public static final String GET_AND_SET_LATEST_SCHEMA = 
HIVE_REGISTER_METRICS_PREFIX + "getAndSetLatestSchemaTimer";
   public static final String DROP_TABLE = HIVE_REGISTER_METRICS_PREFIX + 
"dropTableTimer";
   public static final String PATH_REGISTER_TIMER = 
HIVE_REGISTER_METRICS_PREFIX + "pathRegisterTimer";
   public static final String SKIP_PARTITION_DIFF_COMPUTATION = 
HIVE_REGISTER_METRICS_PREFIX + "skip.partition.diff.computation";
+  public static final String FETCH_LATEST_SCHEMA = 
HIVE_REGISTER_METRICS_PREFIX + "fetch.latest.schema";
 
 Review comment:
   How about HIVE_REGISTER_METRICS_PREFIX + 
"fetchLatestSchemaFromSchemaRegistry"?

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to