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


##########
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:
   unit test works as expected, this patch is so close, 1 more thing, could you 
please shutdown miniDFS cluster?



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