Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 1726 invoked from network); 31 Jul 2010 16:09:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Jul 2010 16:09:48 -0000 Received: (qmail 68921 invoked by uid 500); 31 Jul 2010 16:09:46 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 68306 invoked by uid 500); 31 Jul 2010 16:09:44 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 68295 invoked by uid 99); 31 Jul 2010 16:09:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Jul 2010 16:09:44 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ashahzad4@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Jul 2010 16:09:38 +0000 Received: by wyf23 with SMTP id 23so2902637wyf.35 for ; Sat, 31 Jul 2010 09:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=kHvo+8OVBEUMJ3mG+AKK7NnVsDqqL+q5jUTZ2RcnQ3k=; b=BkKojvAX5CP/NXFZnAK0LqWhtZc6NtF28paKjNQtUqkp3CutPtTsbFLs383X+lNpQd rr0+OPU1GKdO8fxBihkHAlpdNppT+8sL9OlmgrIp3kmBST2skYqvw55CchJz5SDUiTiD kRkijWjhXP+dKJ3DPDfmSssLynVVh7cGxO1o8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nkex6ZkvcG/Kg1hISAhL0p8Acee0RJ9DmsWqKkLqdXTjrxI3LQJxxX64knrGu5FJpT H95vIBz5reSFuuxrDlmcdQ/l7/FXtqObY7IMqjI+srElbTndoI6OhDuI8N51WEE1XKZs Ns8wueLXj+fhwZyBUW1Ccz8Wu9ZmhDM95UN28= MIME-Version: 1.0 Received: by 10.216.35.148 with SMTP id u20mr3014601wea.35.1280592538501; Sat, 31 Jul 2010 09:08:58 -0700 (PDT) Received: by 10.216.179.17 with HTTP; Sat, 31 Jul 2010 09:08:58 -0700 (PDT) Date: Sat, 31 Jul 2010 18:08:58 +0200 Message-ID: Subject: Socket Factories in hadoop From: Ahmad Shahzad To: common-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016364ef9765c03ba048cb12fa3 --0016364ef9765c03ba048cb12fa3 Content-Type: text/plain; charset=ISO-8859-1 Hi ALL, Where can i find the socket factories that are used by hadoop to create its sockets. By this i mean to say that map-reduce framework of hadoop along with HDFS uses sockets to communicate with each other. So, i am looking for socket factories that hadoop framework uses to carry out its work. I looked into the hadoop directory and could find SocksSocketFactory and StandardSocketFactory java classes in core/org/apache/hadoop/net directory. Are these the only socket factories used by hadoop or is there any more?? One more thing, can i create my own socket factory and use that to create sockets that can be used by hadoop?? Ahmad --0016364ef9765c03ba048cb12fa3--