hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5918) Avoid logging unnecessary trace in IPCLoggerChannel#close()
Date Mon, 10 Feb 2014 06:20:19 GMT

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

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

    Priority: Minor  (was: Major)

> 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)

Mime
View raw message