You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/04/30 20:16:25 UTC
[GitHub] [hadoop] avijayanhwx opened a new pull request #788: HDDS-1475 :
Fix OzoneContainer start method.
avijayanhwx opened a new pull request #788: HDDS-1475 : Fix OzoneContainer start method.
URL: https://github.com/apache/hadoop/pull/788
In OzoneContainer start() we have
startContainerScrub();
writeChannel.start();
readChannel.start();
hddsDispatcher.init();
hddsDispatcher.setScmId(scmId);
Suppose here if the 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().
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org