Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51A4610800 for ; Sun, 6 Apr 2014 06:43:57 +0000 (UTC) Received: (qmail 98161 invoked by uid 500); 6 Apr 2014 06:43:49 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 97767 invoked by uid 500); 6 Apr 2014 06:43:47 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 97759 invoked by uid 99); 6 Apr 2014 06:43:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Apr 2014 06:43:46 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joyeec9h3@gmail.com designates 209.85.220.66 as permitted sender) Received: from [209.85.220.66] (HELO mail-pa0-f66.google.com) (209.85.220.66) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Apr 2014 06:43:40 +0000 Received: by mail-pa0-f66.google.com with SMTP id fb1so2555434pad.9 for ; Sat, 05 Apr 2014 23:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=RBzEZ6Tqu5lzv4vmLHAxm/0uBclANMqm39mx2TNm9mE=; b=GqoESTITqJBWtV93DVu6AsvnQ9zi0ddYG5QRmNLBQ/Bgi+TGc5nFDR1Pl4T+rPFsDn j4Q7ux55qsv98xxrIxSi/3Qwc6U5w4+QHLB2D9HTr9nj31BqNdM+JkxhdL9gMtdW0hfW Z+UWqT25PyApQ7lUcfUAqpuZgZM4B8menlpv3Ag+1nQFYG/+eBl0ju63GNklwT6XbG/L WG/z3vcIde0LJ0t9UAL/mCov/7ScVqoj4q+kQiPEU9+z29Qd2LLai6aYLo/t16x/XKpW BkVCPYA6urzU7e7GkzzH1BpWN5gS1v1h6ihLCC/L6WGtAFaFFJwgbjxvFFKWRwHc90qr eReA== X-Received: by 10.68.236.41 with SMTP id ur9mr24146438pbc.101.1396766598115; Sat, 05 Apr 2014 23:43:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.87.238 with HTTP; Sat, 5 Apr 2014 23:42:58 -0700 (PDT) From: Chau Yee Cheung Date: Sun, 6 Apr 2014 14:42:58 +0800 Message-ID: Subject: Connect a node in virtual machine with other nodes in physical machine with port forwarding To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7b33ca9aea38b904f65a1006 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b33ca9aea38b904f65a1006 Content-Type: text/plain; charset=ISO-8859-1 Hi everyone, I am trying to build a cluster with my classmates. 3 of us have linux installed on the physical machine, 2 of us are using virtual machines. Since the campus network has some restrictions, we can only use NAT mode to connect the virtual machine to the internet. I want to know if it's possible to connect a node in virtual machine with other nodes in physical machine with port forwarding. I've tried to forward some ports and the other's physical machine can connect to my virtual machine via them, but I'm not sure if hadoop can connect to other nodes in this way. To my knowledge the port for the tasktracker is uncertain, so I can't forward a specific port for it. Also, other nodes trying to ssh my virtual machine will have to use a port other than 22(Then it will be forwarded to the port 22 in my virtual machine). I wonder how to configure this. Thanks. --047d7b33ca9aea38b904f65a1006 Content-Type: text/html; charset=ISO-8859-1
Hi everyone,

I am trying to build a cluster with my classmates. 3 of us have linux installed on the physical machine, 2 of us are using virtual machines. Since the campus network has some restrictions, we can only use NAT mode to connect the virtual machine to the internet.

I want to know if it's possible to connect a node in virtual machine with other nodes in physical machine with port forwarding. I've tried to forward some ports and the other's physical machine can connect to my virtual machine via them, but I'm not sure if hadoop can connect to other nodes in this way. To my knowledge the port for the tasktracker is uncertain, so I can't forward a specific port for it.

Also, other nodes trying to ssh my virtual machine will have to use a port other than 22(Then it will be forwarded to the port 22 in my virtual machine). I wonder how to configure this.

Thanks.
--047d7b33ca9aea38b904f65a1006--