Hadoop Common
  1. Hadoop Common
  2. HADOOP-743

org.apache.hadoop.ipc.Server join method doees not wait for its subthreads to die

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.6.1
    • Fix Version/s: None
    • Component/s: ipc
    • Labels:
      None

      Description

      Is there an explanation about this ?

      In fact, my problem is that I have to launch consecutively two MiniMRCluster in order to perform unit tests as following :

      • Start first MiniMrCLuster
      • Do some tests
      • Stop first MiniMRCluster
      • Start second MiniMRCluster
      • Do some tests
      • Stop second MiniMRCluster

      When executing this, the second MiniMRcluster give me continually this log :
      06/11/22 11:09:22 INFO ipc.RPC: Problem connecting to server: localhost/127.0.0.1:60030
      Waiting for task tracker to start.

      The only solution I have found now is to insert a Thread.sleep(2000) between first MiniMRCluster stop and the second one start to ensure that the first one is completely stopped.

      Any idea, suggestions, thoughts ?

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Owen O'Malley
            Reporter:
            Thomas Friol
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development