Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-1475

Fix OzoneContainer start method

    XMLWordPrintableJSON

    Details

    • Sprint:
      HDDS Biscayne

      Description

      In OzoneContainer start() we have 

      startContainerScrub();
      writeChannel.start();
      readChannel.start();
      hddsDispatcher.init();
      hddsDispatcher.setScmId(scmId);

       

      Suppose here if readChannel.start() failed due to some reason, from VersionEndPointTask, we try to start OzoneContainer again. This can cause an issue for writeChannel.start() if it is already started. 

       

      Fix the logic such a way that if service is started, don't attempt to start the service again. Similar changes needed to be done for stop().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                avijayan Aravindan Vijayan
                Reporter:
                bharat Bharat Viswanadham
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 10m
                  3h 10m