[ https://issues.apache.org/jira/browse/HADOOP-6311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491182#comment-13491182 ]
Colin Patrick McCabe commented on HADOOP-6311: ---------------------------------------------- This latest patch is a new approach, based on the ideas we discussed here. Basically, the idea is to add a set of generic Socket classes that implement UNIX domain sockets. This patch contains no code from Android. The advantages over the previous approaches are: * The previous approaches didn't create classes which actually inherited from {{ServerSocket}} and {{Socket}}. This patch does. This means that {{DomainSockets}} can be used in all of the places where {{InetSockets}} were previously used (see the HDFS-347 patch for the application.) * This patch has unit tests. * We skip implementing a few things that we don't really need, like credential-passing * These classes are fully thread-safe. > Add support for unix domain sockets to JNI libs > ----------------------------------------------- > > Key: HADOOP-6311 > URL: https://issues.apache.org/jira/browse/HADOOP-6311 > Project: Hadoop Common > Issue Type: New Feature > Components: native > Affects Versions: 0.20.0 > Reporter: Todd Lipcon > Assignee: Colin Patrick McCabe > Attachments: 6311-trunk-inprogress.txt, design.txt, > HADOOP-6311.014.patch, HADOOP-6311.016.patch, HADOOP-6311.018.patch, > HADOOP-6311.020b.patch, HADOOP-6311.020.patch, HADOOP-6311.021.patch, > HADOOP-6311.022.patch, HADOOP-6311.023.patch, HADOOP-6311-0.patch, > HADOOP-6311-1.patch, hadoop-6311.txt > > > For HDFS-347 we need to use unix domain sockets. This JIRA is to include a > library in common which adds a o.a.h.net.unix package based on the code from > Android (apache 2 license) -- 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