You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/05/16 15:29:27 UTC

[GitHub] [accumulo] keith-turner commented on a change in pull request #1162: Ref #1084 Fixes File not Found Error

keith-turner commented on a change in pull request #1162: Ref #1084 Fixes File not Found Error
URL: https://github.com/apache/accumulo/pull/1162#discussion_r284767550
 
 

 ##########
 File path: test/src/main/java/org/apache/accumulo/test/ImportExportIT.java
 ##########
 @@ -92,15 +92,20 @@ public void testExportImportThenScan() throws Exception {
       FileSystem fs = cluster.getFileSystem();
       Path tmp = cluster.getTemporaryPath();
       log.info("Using FileSystem: " + fs);
-      Path baseDir = new Path(tmp, getClass().getName());
+      // Add Fs.defaultFS to baseDir so importDirectory has the full path for Standalone Instance
+      String defaultFS = fs.getConf().get(FileSystem.FS_DEFAULT_NAME_KEY);
 
 Review comment:
   I am not completely sure, but I think this could possibly be replaced with `fs.getUri().toString()`.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services