Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5918

Avoid logging unnecessary trace in IPCLoggerChannel#close()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Avoid logging stack trace while close() in IPCLoggerChannel.

        @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);
          }
        }

      This might have been left out by mistake in HDFS-5074

      Attachments

        1. HDFS-5918.patch
          0.7 kB
          Vinayakumar B

        Issue Links

          Activity

            People

              vinayakumarb Vinayakumar B
              vinayakumarb Vinayakumar B
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: