From hdfs-issues-return-23571-apmail-hadoop-hdfs-issues-archive=hadoop.apache.org@hadoop.apache.org Thu Aug 11 04:54:13 2011 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 D09E87D62 for ; Thu, 11 Aug 2011 04:54:13 +0000 (UTC) Received: (qmail 23839 invoked by uid 500); 11 Aug 2011 04:54:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 23660 invoked by uid 500); 11 Aug 2011 04:53:56 -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 23636 invoked by uid 99); 11 Aug 2011 04:53:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 04:53:50 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 04:53:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7D2D3B7578 for ; Thu, 11 Aug 2011 04:53:27 +0000 (UTC) Date: Thu, 11 Aug 2011 04:53:27 +0000 (UTC) From: "Uma Maheswara Rao G (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <135666602.26737.1313038407509.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-362) FSEditLog should not writes long and short as UTF8 and should not use ArrayWritable for writing non-array items 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-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uma Maheswara Rao G updated HDFS-362: ------------------------------------- Status: Open (was: Patch Available) > FSEditLog should not writes long and short as UTF8 and should not use ArrayWritable for writing non-array items > --------------------------------------------------------------------------------------------------------------- > > Key: HDFS-362 > URL: https://issues.apache.org/jira/browse/HDFS-362 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Uma Maheswara Rao G > Attachments: HDFS-362.patch > > > In FSEditLog, > - long and short are first converted to String and are further converted to UTF8 > - For some non-array items, it first create an ArrayWritable object to hold all the items and then writes the ArrayWritable object. > These result creating many intermediate objects which affects Namenode CPU performance and Namenode restart. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira