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:44:40 UTC

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

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

 ##########
 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:
   Yeah, you're right. That does work. I could have sworn I tried that already but I guess I was mistaken. Thanks for the help. I will make the changes to the rest of them. 

----------------------------------------------------------------
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