Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2865

Recon does not stop its SCM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Ozone Recon
    • None

    Description

      After fixing HDDS-2863, TestRecon fails at restartReconServer, because Recon does not stop its SCM:

      output
      1) Error injecting constructor, java.net.BindException: Problem binding to [0.0.0.0:36399] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
        at org.apache.hadoop.ozone.recon.scm.ReconStorageContainerManager.<init>(ReconStorageContainerManager.java:57)
        while locating org.apache.hadoop.ozone.recon.scm.ReconStorageContainerManager
      
      1 error
      	at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
      	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
      	at org.apache.hadoop.ozone.recon.ReconServer.getReconStorageContainerManager(ReconServer.java:123)
      	at org.apache.hadoop.ozone.recon.ReconServer.call(ReconServer.java:84)
      	at org.apache.hadoop.ozone.recon.ReconServer.call(ReconServer.java:38)
      	at picocli.CommandLine.execute(CommandLine.java:1173)
      	at picocli.CommandLine.access$800(CommandLine.java:141)
      	at picocli.CommandLine$RunLast.handle(CommandLine.java:1367)
      	at picocli.CommandLine$RunLast.handle(CommandLine.java:1335)
      	at picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:1243)
      	at picocli.CommandLine.parseWithHandlers(CommandLine.java:1526)
      	at picocli.CommandLine.parseWithHandler(CommandLine.java:1465)
      	at org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:65)
      	at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:56)
      	at org.apache.hadoop.ozone.MiniOzoneClusterImpl.restartReconServer(MiniOzoneClusterImpl.java:312)
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: