Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 412E810E59 for ; Sun, 6 Apr 2014 12:27:02 +0000 (UTC) Received: (qmail 22697 invoked by uid 500); 6 Apr 2014 12:26:54 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 22248 invoked by uid 500); 6 Apr 2014 12:26:53 -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 22239 invoked by uid 99); 6 Apr 2014 12:26:52 -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 12:26:52 +0000 X-ASF-Spam-Status: No, hits=2.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joyeec9h3@gmail.com designates 209.85.192.174 as permitted sender) Received: from [209.85.192.174] (HELO mail-pd0-f174.google.com) (209.85.192.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Apr 2014 12:26:46 +0000 Received: by mail-pd0-f174.google.com with SMTP id y13so5373837pdi.33 for ; Sun, 06 Apr 2014 05:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=/MyGSzgGrabGFiqRNam6dmq1Gn+mclvWNANFQoPZceU=; b=zHy4NTg7jwHRBLFEBHiSc1H5SLQUFfhl+t7LIxbzddux5gwGuhJTLDgZGY8UAAQAdk b52FUubs/10AeZIO4MB8T2UG+KyDSTMd7WBaUU3I6wYpI9lnLAfCsHdiqy/3NG8uqpYX lSuzRaohMUNB/JPrLToYoKCKzLhys5MDaYnCbAJCRmEt50T+vj3fg08zWvQIQIBQ44tO 6X9Aw9zYCFGL7gHcgDC4/SmhSAoJCKzb/qVwG94nSNpHLzulWWaTcQKXGQmMz3OkiN/d XYL0PnXuG2HzdZuGB2PP5u4tZ1l4LC2ilEwAIP07360yW8FOJrOorgMzM0m+xz1lK/R+ dDeQ== X-Received: by 10.66.129.133 with SMTP id nw5mr25413299pab.98.1396787183585; Sun, 06 Apr 2014 05:26:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.87.238 with HTTP; Sun, 6 Apr 2014 05:26:03 -0700 (PDT) In-Reply-To: <45D2732C-E303-4747-83CB-8AC9AA8A084C@gmail.com> References: <45D2732C-E303-4747-83CB-8AC9AA8A084C@gmail.com> From: Chau Yee Cheung Date: Sun, 6 Apr 2014 20:26:03 +0800 Message-ID: Subject: Re: 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=001a11364e98e7904d04f65edbd3 X-Virus-Checked: Checked by ClamAV on apache.org --001a11364e98e7904d04f65edbd3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, May I ask how you configured the VM? The hadoop on other machines can just access the VM guest on another machine without port forwarding? (just making sure I'm not being paranoid here :) ) 2014-04-06 18:29 GMT+08:00 Azuryy : > Hi, > Just do it, I did it successfully. > > > Sent from my iPhone5s > > > On 2014=E5=B9=B44=E6=9C=886=E6=97=A5, at 14:42, Chau Yee Cheung wrote: > > > > 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. > --001a11364e98e7904d04f65edbd3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

May I ask how you configured the VM?= The hadoop on other machines can just access the VM guest on another machi= ne without port forwarding? (just making sure I'm not being paranoid he= re :) )


2014-04-06 18:29 GMT+08:00 Azuryy <azu= ryyyu@gmail.com>:
Hi,
Just do it, I did it successfully.


Sent from my iPhone5s

> On 2014=E5=B9=B44=E6=9C=886=E6=97=A5, at 14:42, Chau Yee Cheung <joyeec9h3@gmail.com<= /a>> wrote:
>
> 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. Sinc= e the campus network has some restrictions, we can only use NAT mode to con= nect the virtual machine to the internet.
>
> I want to know if it's possible to connect a node in virtual machi= ne with other nodes in physical machine with port forwarding. I've trie= d 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 u= ncertain, 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 m= achine). I wonder how to configure this.
>
> Thanks.

--001a11364e98e7904d04f65edbd3--