skysiders commented on code in PR #209:
URL: https://github.com/apache/tez/pull/209#discussion_r867684241


##########
tez-api/src/test/java/org/apache/tez/common/TestTezCommonUtils.java:
##########
@@ -413,4 +414,16 @@ public void testGetDAGSessionTimeout() {
   }
 
 
+  @Test
+  public void testMkDirForAM() throws IOException {
+    Configuration remoteConf = new Configuration();
+    remoteConf.set(MiniDFSCluster.HDFS_MINIDFS_BASEDIR, TEST_ROOT_DIR);
+    remoteConf.set(CommonConfigurationKeys.FS_PERMISSIONS_UMASK_KEY, "777");
+    MiniDFSCluster miniDFS = new 
MiniDFSCluster.Builder(remoteConf).numDataNodes(3).format(true).racks(null)

Review Comment:
   Hi @abstractdog .Thanks for your suggestion, In this patch, I closed miniDFS 
after I ran out of it. Thank you for reviewing my code, it has taught me a lot.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to