Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2286

DataXceiverServer logs AsynchronousCloseException at shutdown

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.22.0, 0.23.0
    • Fix Version/s: 0.22.0, 0.23.0
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      During DN shutdown, the acceptor thread gets an AsynchronousCloseException, and logs it at WARN level. This exception is excepted, since another thread is closing the listener socket, so we should just swallow it.

      1. hdfs-2286.txt
        2 kB
        Todd Lipcon
      2. HDFS-2286.22branch.patch
        1 kB
        Uma Maheswara Rao G

        Activity

        Todd Lipcon created issue -
        Hide
        Todd Lipcon added a comment -

        Trivial patch, verified in some unit test logs that the exception wasn't logged anymore

        Show
        Todd Lipcon added a comment - Trivial patch, verified in some unit test logs that the exception wasn't logged anymore
        Todd Lipcon made changes -
        Field Original Value New Value
        Attachment hdfs-2286.txt [ 12491575 ]
        Todd Lipcon made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Eli Collins added a comment -

        +1 lgtm

        Show
        Eli Collins added a comment - +1 lgtm
        Hide
        Todd Lipcon added a comment -

        Committed to trunk and branch-23

        Show
        Todd Lipcon added a comment - Committed to trunk and branch-23
        Todd Lipcon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #795 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/795/)
        HDFS-2286. DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon.

        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #795 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/795/ ) HDFS-2286 . DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon. todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #872 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/872/)
        HDFS-2286. DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon.

        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #872 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/872/ ) HDFS-2286 . DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon. todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #805 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/805/)
        HDFS-2286. DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon.

        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #805 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/805/ ) HDFS-2286 . DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon. todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #771 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/771/)
        HDFS-2286. DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon.

        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #771 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/771/ ) HDFS-2286 . DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon. todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #794 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/794/)
        HDFS-2286. DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon.

        todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #794 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/794/ ) HDFS-2286 . DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon. todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1162003 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Uma Maheswara Rao G made changes -
        Attachment HDFS-2286.22branch.patch [ 12499427 ]
        Hide
        Konstantin Shvachko added a comment -

        Committed to 0.22 branch.

        Show
        Konstantin Shvachko added a comment - Committed to 0.22 branch.
        Konstantin Shvachko made changes -
        Affects Version/s 0.22.0 [ 12314241 ]
        Konstantin Shvachko made changes -
        Fix Version/s 0.22.0 [ 12314241 ]
        Hide
        Uma Maheswara Rao G added a comment -

        Thanks Konstantin!

        Show
        Uma Maheswara Rao G added a comment - Thanks Konstantin!
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-22-branch #99 (See https://builds.apache.org/job/Hadoop-Hdfs-22-branch/99/)
        HDFS-2286. DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon and Uma Maheswara Rao G.

        shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1185369
        Files :

        • /hadoop/common/branches/branch-0.22/hdfs/CHANGES.txt
        • /hadoop/common/branches/branch-0.22/hdfs/src/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-22-branch #99 (See https://builds.apache.org/job/Hadoop-Hdfs-22-branch/99/ ) HDFS-2286 . DataXceiverServer logs AsynchronousCloseException at shutdown. Contributed by Todd Lipcon and Uma Maheswara Rao G. shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1185369 Files : /hadoop/common/branches/branch-0.22/hdfs/CHANGES.txt /hadoop/common/branches/branch-0.22/hdfs/src/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development