You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2014/02/10 07:12:19 UTC

[jira] [Created] (HDFS-5918) Avoid logging unnecessary trace in IPCLoggerChannel#close()

Vinayakumar B created HDFS-5918:
-----------------------------------

             Summary: 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


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)