[jira] [Assigned] (HDFS-9675) BlockSender incorrectly output error logs with non-English locale

2016-09-29 Thread Jagadesh Kiran N (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-9675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jagadesh Kiran N reassigned HDFS-9675:
--

Assignee: Jagadesh Kiran N

> 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
>Assignee: Jagadesh Kiran N
>  Labels: i18n
>
> 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)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Assigned] (HDFS-9675) BlockSender incorrectly output error logs with non-English locale

2016-01-21 Thread Akira AJISAKA (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-9675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akira AJISAKA reassigned HDFS-9675:
---

Assignee: Akira AJISAKA

> 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
>Assignee: Akira AJISAKA
>  Labels: i18n
>
> 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)