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 2A54319A63 for ; Thu, 28 Apr 2016 02:47:18 +0000 (UTC) Received: (qmail 9302 invoked by uid 500); 28 Apr 2016 02:47:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 9253 invoked by uid 500); 28 Apr 2016 02:47:13 -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 9236 invoked by uid 99); 28 Apr 2016 02:47:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2016 02:47:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CA3012C1F54 for ; Thu, 28 Apr 2016 02:47:12 +0000 (UTC) Date: Thu, 28 Apr 2016 02:47:12 +0000 (UTC) From: "Akira AJISAKA (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10337) OfflineEditsViewer stats option should print 0 instead of null for the count of operations 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-10337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261442#comment-15261442 ] Akira AJISAKA commented on HDFS-10337: -------------------------------------- Thank you for your patch. Yes, it fixes this issue. In addition, would you use StringBuilder instead of StringBuffer? I'm +1 if that is addressed. > OfflineEditsViewer stats option should print 0 instead of null for the count of operations > ------------------------------------------------------------------------------------------ > > Key: HDFS-10337 > URL: https://issues.apache.org/jira/browse/HDFS-10337 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.7.2 > Reporter: Akira AJISAKA > Assignee: Lin Yiqun > Priority: Minor > Labels: newbie > Attachments: HDFS-10337.001.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)