Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2C5117367 for ; Tue, 4 Nov 2014 18:15:34 +0000 (UTC) Received: (qmail 10319 invoked by uid 500); 4 Nov 2014 18:15:34 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 10264 invoked by uid 500); 4 Nov 2014 18:15:34 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 10252 invoked by uid 99); 4 Nov 2014 18:15:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2014 18:15:34 +0000 Date: Tue, 4 Nov 2014 18:15:34 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-7340) make rollingUpgrade start/finalize idempotent 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/HDFS-7340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao updated HDFS-7340: ---------------------------- Attachment: HDFS-7340.001.patch Thanks Suresh and Nicholas for the review. Update the patch to address Suresh's comments. bq. add Idempotent annotation to the method The ClientProtocol#rollingUpgrade has already been annotated as idempotent before the fix. > make rollingUpgrade start/finalize idempotent > --------------------------------------------- > > Key: HDFS-7340 > URL: https://issues.apache.org/jira/browse/HDFS-7340 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha > Affects Versions: 2.4.0 > Reporter: Arpit Gupta > Assignee: Jing Zhao > Attachments: HDFS-7340.000.patch, HDFS-7340.001.patch > > > I was running this on a HA cluster with dfs.client.test.drop.namenode.response.number set to 1. So the first request goes through but the response is dropped. Which then causes another request which fails and says a request is already in progress. We should add retry cache support for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)