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

Vinayakumar B updated HDFS-5918:
--------------------------------

    Status: Patch Available  (was: Open)

> Avoid logging unnecessary trace in IPCLoggerChannel#close()
> -----------------------------------------------------------
>
>                 Key: HDFS-5918
>                 URL: https://issues.apache.org/jira/browse/HDFS-5918
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>            Priority: Minor
>         Attachments: HDFS-5918.patch
>
>
> Avoid logging stack trace while close() in IPCLoggerChannel.
> {code}  @Override
>   public void close() {
>     QuorumJournalManager.LOG.info("Closing", new Exception());
>     // No more tasks may be submitted after this point.
>     executor.shutdown();
>     if (proxy != null) {
>       // TODO: this can hang for quite some time if the client
>       // is currently in the middle of a call to a downed JN.
>       // We should instead do this asynchronously, and just stop
>       // making any more calls after this point (eg clear the queue)
>       RPC.stopProxy(proxy);
>     }
>   }{code}
> This might have been left out by mistake in HDFS-5074



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to