Return-Path: Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: (qmail 1782 invoked from network); 31 Jul 2010 16:09:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Jul 2010 16:09:49 -0000 Received: (qmail 69419 invoked by uid 500); 31 Jul 2010 16:09:46 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 68328 invoked by uid 500); 31 Jul 2010 16:09:45 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 68314 invoked by uid 99); 31 Jul 2010 16:09:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Jul 2010 16:09:45 +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 (nike.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:37 +0000 Received: by wyf23 with SMTP id 23so2902719wyf.35 for ; Sat, 31 Jul 2010 09:09:17 -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=B+OdEMNGPMgFPNPrEGQ+lwg/VB2Q/Wa8nAY3utsEuwM=; b=RGj0Fe4pp1WQm7Mia5NpFnP+h6gijd9dWYkXeOAdhBQuxgbiwRMcK4JkzmooBqvFtX ySmOsGYOWePelGlStXpRK2rUjcWnBpQGkgX8IxDo5Mb4NDDcANF7BBagvdtfLOFXnPrL 04Bdv7zYV/nsQ5XhfXPehqIKSCK4+nLXf7rAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kKTYWN6P7FHmNqj9GcIk0wuN7j29KelggLFyIrA/pdEegYbzAr4/ECYZbhFNSj5R6p n0tvMjvoctDwdI3NI4V5Qwdk8horCjl9wuSatCZUapIv3jNw8ryc9QPqt9ktkn2gxX35 42xF/ujlAnnQoTJTPdUNJUugVZVtDsPJDNY04= MIME-Version: 1.0 Received: by 10.216.50.18 with SMTP id y18mr879682web.113.1280592552805; Sat, 31 Jul 2010 09:09:12 -0700 (PDT) Received: by 10.216.179.17 with HTTP; Sat, 31 Jul 2010 09:09:12 -0700 (PDT) Date: Sat, 31 Jul 2010 18:09:12 +0200 Message-ID: Subject: Socket Factories in hadoop From: Ahmad Shahzad To: mapreduce-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016e6db2f4036462e048cb13022 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6db2f4036462e048cb13022 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 --0016e6db2f4036462e048cb13022--