hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9675) BlockSender incorrectly output error logs with non-English locale
Date Thu, 21 Jan 2016 08:34:40 GMT
Akira AJISAKA created HDFS-9675:
-----------------------------------

             Summary: BlockSender incorrectly output error logs with non-English locale
                 Key: HDFS-9675
                 URL: https://issues.apache.org/jira/browse/HDFS-9675
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: datanode
            Reporter: Akira AJISAKA


If the locale is non-English, the following code does not work.
{code:title=BlockSender.java}
        String ioem = e.getMessage();
        if (!ioem.startsWith("Broken pipe") && !ioem.startsWith("Connection reset"))
{
          LOG.error("BlockSender.sendChunks() exception: ", e);
        }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message