smengcl commented on a change in pull request #1218: HDDS-1891. Ozone fs shell 
command should work with default port when port number is not specified
URL: https://github.com/apache/hadoop/pull/1218#discussion_r312451547
 
 

 ##########
 File path: 
hadoop-ozone/ozonefs/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFileSystemWithMocks.java
 ##########
 @@ -78,6 +79,42 @@ public void testFSUriWithHostPortOverrides() throws 
Exception {
     OzoneClientFactory.getRpcClient("local.host", 5899, conf);
   }
 
+  @Test
+  public void testFSUriWithHostPortUnspecified() throws Exception {
+    Configuration conf = new OzoneConfiguration();
+    final int OM_PORT_DEFAULT = OmUtils.getOmRpcPort(conf);
 
 Review comment:
   Done.

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