snvijaya commented on a change in pull request #1701: Hadoop 16687: Fix 
testcase added for HADOOP-16138 for namespace enabled account
URL: https://github.com/apache/hadoop/pull/1701#discussion_r347220822
 
 

 ##########
 File path: 
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemCLI.java
 ##########
 @@ -57,8 +55,14 @@ public void testMkdirRootNonExistentContainer() throws 
Exception {
 
     String nonExistentContainer = "nonexistent-" + UUID.randomUUID();
 
+    // Disable creation of new filesystem
+    final AbfsConfiguration conf = getConfiguration();
+    conf.setBoolean(AZURE_CREATE_REMOTE_FILESYSTEM_DURING_INITIALIZATION,
+        false);
+
     int result = fsShell.run(new String[] { "-mkdir",
-        ABFS_SCHEME + "://" + nonExistentContainer + "@" + account + "/" });
+        ABFS_SCHEME + "://" + nonExistentContainer + "@" + account +
+            "/testDirOnRoot" });
 
 Review comment:
   Reverted the path back to container root. 

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to