[ http://issues.apache.org/jira/browse/HADOOP-482?page=comments#action_12443042 ] Doug Cutting commented on HADOOP-482: -------------------------------------
I wonder if we should instead either (a) always roll the info port, indicating this in hadoop-default.xml, or (b) simply specify a different info port when testing. We already specify a different port for rpcs, and should probably use the same solution for selection of both ports. The test rpc port is currently a constant that's passed to the MiniDFSCluster's constructor. We could do the same for the info port, or perhaps put both in src/test/hadoop-site.xml. TestCopyFiles starts multiple namenodes, so that test would still need to either pass explicit port numbers, or pass a parameter N indicating that port default+N should be used. > unit test hangs when a cluster is running on the same machine > ------------------------------------------------------------- > > Key: HADOOP-482 > URL: http://issues.apache.org/jira/browse/HADOOP-482 > Project: Hadoop > Issue Type: Bug > Reporter: Wendy Chien > Assigned To: Wendy Chien > Priority: Minor > Attachments: unittest2.patch > > > Instead of hanging, it should report an error. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira