Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-743

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.1
    • None
    • ipc
    • 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 ?

      Attachments

        Activity

          People

            omalley Owen O'Malley
            titom Thomas Friol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: