You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2019/06/26 20:30:52 UTC

[accumulo] branch 2.0 updated: Improve Error msg on Bulk checkPath (#1235)

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/2.0 by this push:
     new f592aef  Improve Error msg on Bulk checkPath (#1235)
f592aef is described below

commit f592aef979306f79383fd813328a9c75421dc95c
Author: Mike Miller <mm...@apache.org>
AuthorDate: Wed Jun 26 16:30:48 2019 -0400

    Improve Error msg on Bulk checkPath (#1235)
---
 .../java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java b/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
index 84c0d7a..61bfb09 100644
--- a/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
+++ b/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
@@ -1167,11 +1167,11 @@ public class TableOperationsImpl extends TableOperationsHelper {
     try {
       if (!fs.getFileStatus(ret).isDirectory()) {
         throw new AccumuloException(
-            kind + " import " + type + " directory " + dir + " is not a directory!");
+            kind + " import " + type + " directory " + ret + " is not a directory!");
       }
     } catch (FileNotFoundException fnf) {
       throw new AccumuloException(
-          kind + " import " + type + " directory " + dir + " does not exist!");
+          kind + " import " + type + " directory " + ret + " does not exist!");
     }
 
     if (type.equals("failure")) {