accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo] branch master updated: Correct error msg when importing a table with incompatible data version (#514)
Date Mon, 04 Jun 2018 18:57:46 GMT
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/master by this push:
     new d8cd6e3  Correct error msg when importing a table with incompatible data version
(#514)
d8cd6e3 is described below

commit d8cd6e3df4ceb4b6bc52677a9e956e585d577fa3
Author: ctas582 <ctas582@users.noreply.github.com>
AuthorDate: Mon Jun 4 19:57:42 2018 +0100

    Correct error msg when importing a table with incompatible data version (#514)
---
 .../src/main/java/org/apache/accumulo/master/tableOps/ImportTable.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/master/src/main/java/org/apache/accumulo/master/tableOps/ImportTable.java
b/server/master/src/main/java/org/apache/accumulo/master/tableOps/ImportTable.java
index 352acdc..766bc86 100644
--- a/server/master/src/main/java/org/apache/accumulo/master/tableOps/ImportTable.java
+++ b/server/master/src/main/java/org/apache/accumulo/master/tableOps/ImportTable.java
@@ -116,7 +116,7 @@ public class ImportTable extends MasterRepo {
     if (dataVersion == null || dataVersion > ServerConstants.DATA_VERSION)
       throw new AcceptableThriftTableOperationException(null, tableInfo.tableName,
           TableOperation.IMPORT, TableOperationExceptionType.OTHER,
-          "Incompatible data version " + exportVersion);
+          "Incompatible data version " + dataVersion);
   }
 
   @Override

-- 
To stop receiving notification emails like this one, please contact
ctubbsii@apache.org.

Mime
View raw message