You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2020/03/05 10:36:35 UTC

[GitHub] [hive] aasha commented on a change in pull request #932: HIVE-22954 Repl Load using scheduler

aasha commented on a change in pull request #932: HIVE-22954 Repl Load using scheduler
URL: https://github.com/apache/hive/pull/932#discussion_r388208876
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java
 ##########
 @@ -466,29 +520,30 @@ private void initReplStatus(ASTNode ast) throws SemanticException{
 
   private void analyzeReplStatus(ASTNode ast) throws SemanticException {
     initReplStatus(ast);
-
     String dbNameOrPattern = replScope.getDbName();
-    String replLastId = null;
+    String replLastId = getReplStatus(dbNameOrPattern);
+    prepareReturnValues(Collections.singletonList(replLastId), "last_repl_id#string");
+    setFetchTask(createFetchTask("last_repl_id#string"));
+    LOG.debug("ReplicationSemanticAnalyzer.analyzeReplStatus: writing repl.last.id={} out to {}",
 
 Review comment:
   This conf just prints the configuration files and not all the configs. This was part of older repl status code.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org