accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject [accumulo] branch 2.0 updated: Improve Error msg on Bulk checkPath (#1235)
Date Wed, 26 Jun 2019 20:30:52 GMT
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 <mmiller@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")) {


Mime
View raw message