You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2018/06/04 18:57:46 UTC

[accumulo] branch master updated: Correct error msg when importing a table with incompatible data version (#514)

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 <ct...@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.