Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3C1F96C2 for ; Mon, 31 Oct 2011 04:22:37 +0000 (UTC) Received: (qmail 5583 invoked by uid 500); 31 Oct 2011 04:22:34 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 5240 invoked by uid 500); 31 Oct 2011 04:22:34 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 5226 invoked by uid 99); 31 Oct 2011 04:22:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 04:22:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of harsh@cloudera.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 04:22:25 +0000 Received: by iakh37 with SMTP id h37so10491394iak.35 for ; Sun, 30 Oct 2011 21:22:04 -0700 (PDT) Received: by 10.68.74.4 with SMTP id p4mr20690697pbv.47.1320034924074; Sun, 30 Oct 2011 21:22:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.140.9 with HTTP; Sun, 30 Oct 2011 21:21:43 -0700 (PDT) In-Reply-To: References: <5A307C89-9BA0-4E6F-ACCA-BF0FAD5B4A44@cloudera.com> From: Harsh J Date: Mon, 31 Oct 2011 09:51:43 +0530 Message-ID: Subject: Re: getting there (EOF exception). To: common-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org What is your fs.default.name set to? It'd bind to the hostname provided in = that. On Mon, Oct 31, 2011 at 9:38 AM, JAX wrote: > Thanks! Yes i agree ... But Are you sure 8020? 8020 serves on 127.0.0.1 (= rather than 0.0.0.0) ... Thus it is inaccessible to outside clients.......T= hat is very odd.... Why would that be the case ? Any insights ( using cloud= eras hadoop vm). > > Sent from my iPad > > On Oct 30, 2011, at 11:48 PM, Harsh J wrote: > >> Hey Jay, >> >> I believe this may be related to your other issues as well, but 50070 is= NOT the port you want to connect to. 50070 serves over HTTP, while default= port (fs.default.name), for IPC connections is 8020, or whatever you have = configured. >> >> On 31-Oct-2011, at 5:17 AM, Jay Vyas wrote: >> >>> Hi =A0guys : What is the meaning of an EOF exception when trying to con= nect >>> to Hadoop by creating a new FileSystem object ? =A0Does this simply mea= n >>> the system cant be read ? >>> >>> java.io.IOException: Call to /172.16.112.131:50070 failed on local >>> exception: java.io.EOFException >>> =A0 at org.apache.hadoop.ipc.Client.wrapException(Client.java:1139) >>> =A0 at org.apache.hadoop.ipc.Client.call(Client.java:1107) >>> =A0 at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:226) >>> =A0 at $Proxy0.getProtocolVersion(Unknown Source) >>> =A0 at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:398) >>> =A0 at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:384) >>> =A0 at >>> org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:111) >>> =A0 at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:213) >>> =A0 at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:180) >>> =A0 at >>> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFile= System.java:89) >>> =A0 at >>> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1514) >>> =A0 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67) >>> =A0 at >>> org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1548) >>> =A0 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1530) >>> =A0 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:228) >>> =A0 at sb.HadoopRemote.main(HadoopRemote.java:35) >>> Caused by: java.io.EOFException >>> =A0 at java.io.DataInputStream.readInt(DataInputStream.java:375) >>> =A0 at >>> org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:812= ) >>> =A0 at org.apache.hadoop.ipc.Client$Connection.run(Client.java:720) >>> >>> -- >>> Jay Vyas >>> MMSB/UCHC >> > --=20 Harsh J