From hdfs-issues-return-281157-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Fri Aug 30 17:44: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 3B00F18065E for ; Fri, 30 Aug 2019 19:44:02 +0200 (CEST) Received: (qmail 8591 invoked by uid 500); 30 Aug 2019 17:44: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 8579 invoked by uid 99); 30 Aug 2019 17:44: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; Fri, 30 Aug 2019 17:44:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DABE9E30E8 for ; Fri, 30 Aug 2019 17:44:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 5258C780802 for ; Fri, 30 Aug 2019 17:44:00 +0000 (UTC) Date: Fri, 30 Aug 2019 17:44:00 +0000 (UTC) From: "ASF GitHub Bot (Jira)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work logged] (HDDS-1909) Use new HA code for Non-HA in OM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDDS-1909?focusedWorklogId=304446&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-304446 ] ASF GitHub Bot logged work on HDDS-1909: ---------------------------------------- Author: ASF GitHub Bot Created on: 30/Aug/19 17:43 Start Date: 30/Aug/19 17:43 Worklog Time Spent: 10m Work Description: arp7 commented on pull request #1225: HDDS-1909. Use new HA code for Non-HA in OM. URL: https://github.com/apache/hadoop/pull/1225#discussion_r319613602 ########## File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerProtocolServerSideTranslatorPB.java ########## @@ -132,7 +165,36 @@ private OMResponse createErrorResponse( OMRequest omRequest, IOException exception) { OzoneManagerProtocolProtos.Type cmdType = omRequest.getCmdType(); switch (cmdType) { + case CreateVolume: Review comment: Can we avoid this switch/case block? ---------------------------------------------------------------- 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 Issue Time Tracking ------------------- Worklog Id: (was: 304446) Time Spent: 11h (was: 10h 50m) > Use new HA code for Non-HA in OM > -------------------------------- > > Key: HDDS-1909 > URL: https://issues.apache.org/jira/browse/HDDS-1909 > Project: Hadoop Distributed Data Store > Issue Type: New Feature > Reporter: Bharat Viswanadham > Assignee: Bharat Viswanadham > Priority: Major > Labels: pull-request-available > Time Spent: 11h > Remaining Estimate: 0h > > This Jira is to use new HA code of OM in Non-HA code path. -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org