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 88501F125 for ; Thu, 21 Mar 2013 06:03:18 +0000 (UTC) Received: (qmail 9155 invoked by uid 500); 21 Mar 2013 06:03:17 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 9091 invoked by uid 500); 21 Mar 2013 06:03:17 -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 9057 invoked by uid 99); 21 Mar 2013 06:03:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 06:03:16 +0000 Date: Thu, 21 Mar 2013 06:03:16 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-4621) additional logging to help diagnose slow QJM logSync 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-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HDFS-4621: ------------------------------ Status: Patch Available (was: Open) > additional logging to help diagnose slow QJM logSync > ---------------------------------------------------- > > Key: HDFS-4621 > URL: https://issues.apache.org/jira/browse/HDFS-4621 > Project: Hadoop HDFS > Issue Type: Bug > Components: ha > Affects Versions: 2.0.3-alpha > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Minor > Attachments: hdfs-4621.txt > > > I've been working on diagnosing an issue with a cluster which is seeing slow logSync calls occasionally to QJM. Adding a few more pieces of logging would help this: > - in the warning messages on the client side leading up to a timeout, include which nodes have responded and which ones are still pending > - on the server side, when we actually call FileChannel.force, log a warning if the sync takes longer than 1 second -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira