[ https://issues.apache.org/jira/browse/HDFS-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547247#comment-13547247 ]
Todd Lipcon commented on HDFS-4354: ----------------------------------- bq. It doesn't matter, since the STATUS_CLOSED_MASK bit won't make a number negative. I agree, the results are the same, but conceptually it makes more sense... Can you post a non-consolidated patch here for test-patch? > Create DomainSocket and DomainPeer and associated unit tests > ------------------------------------------------------------ > > Key: HDFS-4354 > URL: https://issues.apache.org/jira/browse/HDFS-4354 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, hdfs-client, performance > Affects Versions: 2.0.3-alpha > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Attachments: 03-cumulative.patch > > > Create {{DomainSocket}}, a JNI class which provides UNIX domain sockets > functionality in Java. Also create {{DomainPeer}}, {{DomainPeerServer}}. > This change also adds a unit test as well as {{TemporarySocketDirectory}}. > Finally, this change adds a few C utility methods for handling JNI > exceptions, such as {{newException}}. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira