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



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java
##########
@@ -359,6 +359,9 @@ private void analyzeReplLoad(ASTNode ast) throws 
SemanticException {
       if (loadPath != null) {
         DumpMetaData dmd = new DumpMetaData(loadPath, conf);
 
+        if (!dmd.isVersionCompatible()) {
+          throw new SemanticException("Dump version older than V3 is not 
supported.");

Review comment:
       print the dump version also. V3 or 3?




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