[ http://issues.apache.org/jira/browse/HADOOP-482?page=all ]

Wendy Chien updated HADOOP-482:
-------------------------------

    Attachment: unittest3.patch

This patch allows you to run unit tests while a cluster is running and while 
other unit tests are running.   The cause of the hangs in the past were due to 
port conflicts.  Now, if we can't start up the namenode or jobtracker, we 
change the configured values (in memory) for the rpc and info ports and try 
again in MiniMRcluster and MiniDFSCluster.   

Notes:  
1. build/minimr/hadoop-site.xml is eliminated.  MiniMRCluster no longer creates 
this file.  for this reason, this patch conflicts with the patch for 
HADOOP-576.  (the conflict is small, so whichever is second, the patch can be 
regenerated)  
2. I changed some of the job tracker rpc ports from 50050 to 60050 in the unit 
tests because 50050 is the default value for mapred.task.tracker.report.port

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

        

Reply via email to