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_r284770277
 
 

 ##########
 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:
   Actually, if that works then could do `Path baseDir = new Path(fs.getUri() + 
tmp, getClass().getName());`

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to