[jira] [Commented] (HDFS-5973) add DomainSocket#shutdown method
[ https://issues.apache.org/jira/browse/HDFS-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13906863#comment-13906863 ] Hudson commented on HDFS-5973: -- SUCCESS: Integrated in Hadoop-Yarn-trunk #487 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/487/]) HDFS-5973. add DomainSocket#shutdown method. (cmccabe) (cmccabe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1569950) * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/unix/DomainSocket.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt add DomainSocket#shutdown method Key: HDFS-5973 URL: https://issues.apache.org/jira/browse/HDFS-5973 Project: Hadoop HDFS Issue Type: Sub-task Components: hdfs-client Affects Versions: 2.4.0 Reporter: Colin Patrick McCabe Assignee: Colin Patrick McCabe Fix For: 2.4.0 Attachments: HDFS-5973.001.patch Add a DomainSocket#shutdown method, that allows us to call shutdown on UNIX domain sockets. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HDFS-5973) add DomainSocket#shutdown method
[ https://issues.apache.org/jira/browse/HDFS-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13906968#comment-13906968 ] Hudson commented on HDFS-5973: -- SUCCESS: Integrated in Hadoop-Hdfs-trunk #1679 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1679/]) HDFS-5973. add DomainSocket#shutdown method. (cmccabe) (cmccabe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1569950) * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/unix/DomainSocket.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt add DomainSocket#shutdown method Key: HDFS-5973 URL: https://issues.apache.org/jira/browse/HDFS-5973 Project: Hadoop HDFS Issue Type: Sub-task Components: hdfs-client Affects Versions: 2.4.0 Reporter: Colin Patrick McCabe Assignee: Colin Patrick McCabe Fix For: 2.4.0 Attachments: HDFS-5973.001.patch Add a DomainSocket#shutdown method, that allows us to call shutdown on UNIX domain sockets. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HDFS-5973) add DomainSocket#shutdown method
[ https://issues.apache.org/jira/browse/HDFS-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13907019#comment-13907019 ] Hudson commented on HDFS-5973: -- SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1704 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1704/]) HDFS-5973. add DomainSocket#shutdown method. (cmccabe) (cmccabe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1569950) * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/unix/DomainSocket.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt add DomainSocket#shutdown method Key: HDFS-5973 URL: https://issues.apache.org/jira/browse/HDFS-5973 Project: Hadoop HDFS Issue Type: Sub-task Components: hdfs-client Affects Versions: 2.4.0 Reporter: Colin Patrick McCabe Assignee: Colin Patrick McCabe Fix For: 2.4.0 Attachments: HDFS-5973.001.patch Add a DomainSocket#shutdown method, that allows us to call shutdown on UNIX domain sockets. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HDFS-5973) add DomainSocket#shutdown method
[ https://issues.apache.org/jira/browse/HDFS-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13905965#comment-13905965 ] Colin Patrick McCabe commented on HDFS-5973: This is a pretty simple one. Just exposing the existing code which calls {{shutdown(2)}} on a socket. This is to allow me to shutdown the UNIX domain socket associated with a shared memory segment for error handling purposes. {{close}} could be used for this purpose, but it's a little more heavyweight than what I need here, since {{DomainSocket#close}} blocks until the fd is actually, well, closed. Since the UNIX domain socket associated with a shared memory segment is inside a {{DomainSocketWatcher}}, it can't be actually closed until the {{DomainSocketWatcher}} lets go of it. add DomainSocket#shutdown method Key: HDFS-5973 URL: https://issues.apache.org/jira/browse/HDFS-5973 Project: Hadoop HDFS Issue Type: Sub-task Components: hdfs-client Affects Versions: 2.4.0 Reporter: Colin Patrick McCabe Assignee: Colin Patrick McCabe Attachments: HDFS-5973.001.patch Add a DomainSocket#shutdown method, that allows us to call shutdown on UNIX domain sockets. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HDFS-5973) add DomainSocket#shutdown method
[ https://issues.apache.org/jira/browse/HDFS-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13905971#comment-13905971 ] Andrew Wang commented on HDFS-5973: --- +1 pending Jenkins bot add DomainSocket#shutdown method Key: HDFS-5973 URL: https://issues.apache.org/jira/browse/HDFS-5973 Project: Hadoop HDFS Issue Type: Sub-task Components: hdfs-client Affects Versions: 2.4.0 Reporter: Colin Patrick McCabe Assignee: Colin Patrick McCabe Attachments: HDFS-5973.001.patch Add a DomainSocket#shutdown method, that allows us to call shutdown on UNIX domain sockets. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HDFS-5973) add DomainSocket#shutdown method
[ https://issues.apache.org/jira/browse/HDFS-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13906043#comment-13906043 ] Hadoop QA commented on HDFS-5973: - {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12629873/HDFS-5973.001.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-common-project/hadoop-common. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/6177//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/6177//console This message is automatically generated. add DomainSocket#shutdown method Key: HDFS-5973 URL: https://issues.apache.org/jira/browse/HDFS-5973 Project: Hadoop HDFS Issue Type: Sub-task Components: hdfs-client Affects Versions: 2.4.0 Reporter: Colin Patrick McCabe Assignee: Colin Patrick McCabe Attachments: HDFS-5973.001.patch Add a DomainSocket#shutdown method, that allows us to call shutdown on UNIX domain sockets. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (HDFS-5973) add DomainSocket#shutdown method
[ https://issues.apache.org/jira/browse/HDFS-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13906298#comment-13906298 ] Hudson commented on HDFS-5973: -- SUCCESS: Integrated in Hadoop-trunk-Commit #5192 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5192/]) HDFS-5973. add DomainSocket#shutdown method. (cmccabe) (cmccabe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1569950) * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/unix/DomainSocket.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt add DomainSocket#shutdown method Key: HDFS-5973 URL: https://issues.apache.org/jira/browse/HDFS-5973 Project: Hadoop HDFS Issue Type: Sub-task Components: hdfs-client Affects Versions: 2.4.0 Reporter: Colin Patrick McCabe Assignee: Colin Patrick McCabe Fix For: 2.4.0 Attachments: HDFS-5973.001.patch Add a DomainSocket#shutdown method, that allows us to call shutdown on UNIX domain sockets. -- This message was sent by Atlassian JIRA (v6.1.5#6160)