Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 329A1DB6D for ; Thu, 30 Aug 2012 23:41:08 +0000 (UTC) Received: (qmail 18877 invoked by uid 500); 30 Aug 2012 23:41:08 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 18837 invoked by uid 500); 30 Aug 2012 23:41:07 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 18623 invoked by uid 99); 30 Aug 2012 23:41:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 23:41:07 +0000 Date: Fri, 31 Aug 2012 10:41:07 +1100 (NCT) From: "Aleksandr Shulman (JIRA)" To: issues@hbase.apache.org Message-ID: <441346042.19184.1346370067802.JavaMail.jiratomcat@arcas> In-Reply-To: <1763440471.11683.1346246227693.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HBASE-6682) Bad characters in logs for server names: SplitLogManager: task following PBUF MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6682?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1344= 5444#comment-13445444 ]=20 Aleksandr Shulman commented on HBASE-6682: ------------------------------------------ This object is actually a SplitLogTask object. If we deserialize the proto = buffer and then do a toString, then we get useful information. The only risk I can think of is that data might actually not be of type Spl= itLogTask. However, we're already taking that risk and error handling for t= his checked exception is done by the calling function. My fix then is to deserialize the object and print out its toString(), whic= h is actually informative and formatted. =20 > Bad characters in logs for server names: SplitLogManager: task following = PBUF=20 > -------------------------------------------------------------------------= ----- > > Key: HBASE-6682 > URL: https://issues.apache.org/jira/browse/HBASE-6682 > Project: HBase > Issue Type: Bug > Affects Versions: 0.96.0 > Reporter: nkeywal > Assignee: Aleksandr Shulman > Priority: Minor > > See how the server name is printed: > 2012-08-29 14:28:53,567 INFO org.apache.hadoop.hbase.master.SplitLogManag= er: task /hbase/splitlog/hdfs%3A%2F%2Flocalhost%3A9000%2Fhbase%2F.logs%2Flo= calhost%2C60202%2C1346241077569-splitting%2Flocalhost%252C60202%252C1346241= 077569.1346241967431 entered state PBUF=08=03=12=16 > =09localhost=10=EF=BF=BD=EF=BF=BD=03=18=EF=BF=BD=EF=BF=BD=DE=91=EF=BF=BD' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira