[ https://issues.apache.org/jira/browse/HDFS-14974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16970904#comment-16970904 ]
Íñigo Goiri commented on HDFS-14974: ------------------------------------ Yes, this is only related to tests. It also has issues if two tests using 8888 run in parallel. In a regular environment, the cluster admin would just set the proper address and port. BTW, now that I'm seeing this: {code} conf.setInt(DFS_ROUTER_HANDLER_COUNT_KEY, 10); {code} This is a little overkill for a unit test; something like 2 or 4 threads should be more than enough. > RBF: TestRouterSecurityManager#testCreateCredentials should use :0 for port > --------------------------------------------------------------------------- > > Key: HDFS-14974 > URL: https://issues.apache.org/jira/browse/HDFS-14974 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Íñigo Goiri > Priority: Major > > Currently, {{TestRouterSecurityManager#testCreateCredentials}} create a > Router with the default ports. However, these ports might be used. We should > set it to :0 for it to be assigned dynamically. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org