From hdfs-issues-return-261666-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Mon Apr 29 19:42:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4380618067E for ; Mon, 29 Apr 2019 21:42:02 +0200 (CEST) Received: (qmail 42072 invoked by uid 500); 29 Apr 2019 19:42:01 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 42060 invoked by uid 99); 29 Apr 2019 19:42:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2019 19:42:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B0D63E2AD4 for ; Mon, 29 Apr 2019 19:42:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3F66325811 for ; Mon, 29 Apr 2019 19:42:00 +0000 (UTC) Date: Mon, 29 Apr 2019 19:42:00 +0000 (UTC) From: "Aravindan Vijayan (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work started] (HDDS-1475) Fix OzoneContainer start method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDDS-1475?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Work on HDDS-1475 started by Aravindan Vijayan. ----------------------------------------------- > Fix OzoneContainer start method > ------------------------------- > > Key: HDDS-1475 > URL: https://issues.apache.org/jira/browse/HDDS-1475 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone Datanode > Reporter: Bharat Viswanadham > Assignee: Aravindan Vijayan > Priority: Major > Labels: newbie > > In OzoneContainer start() we have=C2=A0 > {code:java} > startContainerScrub(); > writeChannel.start(); > readChannel.start(); > hddsDispatcher.init(); > hddsDispatcher.setScmId(scmId);{code} > =C2=A0 > Suppose here if readChannel.start() failed due to some reason, from Versi= onEndPointTask, we try to start OzoneContainer again. This=C2=A0can cause a= n issue for writeChannel.start() if=C2=A0it is already started.=C2=A0 > =C2=A0 > Fix the logic such a way that if service is started, don't attempt to sta= rt the service again. Similar=C2=A0changes needed to be done=C2=A0for stop(= ). -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org