Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5918

Avoid logging unnecessary trace in IPCLoggerChannel#close()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

      1. HDFS-5918.patch
        0.7 kB
        Vinayakumar B

        Issue Links

          Activity

          Vinayakumar B created issue -
          Vinayakumar B made changes -
          Field Original Value New Value
          Attachment HDFS-5918.patch [ 12627927 ]
          Vinayakumar B made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          Vinayakumar B made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jing Zhao made changes -
          Link This issue duplicates HDFS-6018 [ HDFS-6018 ]
          Jing Zhao made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]

            People

            • Assignee:
              Vinayakumar B
              Reporter:
              Vinayakumar B
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development