hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15360) Log some more helpful information when catch RuntimeException or Error in IPC.Server
Date Wed, 04 Apr 2018 08:42:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425194#comment-16425194
] 

Wei-Chiu Chuang commented on HADOOP-15360:
------------------------------------------

FYI the AIOOBE is most likely fixed by HDFS-11755 + HDFS-11445

> Log some more helpful information when catch RuntimeException or Error in IPC.Server

> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15360
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15360
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: He Xiaoqiao
>            Priority: Major
>
> IPC.Server#logException doesn't not print exception stack trace when catch RuntimeException
or Error, for instance:
> {code:java}
> 2018-03-28 21:52:25,385 WARN org.apache.hadoop.ipc.Server: IPC Server handler 17 on 8020,
call org.apache.hadoop.hdfs.protocol.ClientProtocol.getFileInfo from *.*.*.*:59326 Call#46
Retry#0 java.lang.ArrayIndexOutOfBoundsException: 0
> {code}
> this log message is not friendly for debug. I think it is necessary to print more helpful
message or full stack trace when the exception is RuntimeException or Error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message