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 4EBED18450 for ; Thu, 4 Jun 2015 05:48:48 +0000 (UTC) Received: (qmail 4873 invoked by uid 500); 4 Jun 2015 05:48:43 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 4738 invoked by uid 500); 4 Jun 2015 05:48:43 -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 4724 invoked by uid 99); 4 Jun 2015 05:48:43 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2015 05:48:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D6643CB423 for ; Thu, 4 Jun 2015 05:48:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Ds1YgmoT6t0Y for ; Thu, 4 Jun 2015 05:48:34 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 3899B2054B for ; Thu, 4 Jun 2015 05:48:33 +0000 (UTC) Received: by oihd6 with SMTP id d6so24015144oih.2 for ; Wed, 03 Jun 2015 22:47:41 -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=Z90T5KwmK6FgBSE27Vhol/xZgveKoz5pWW7IiKzTiNM=; b=d2r2PrkkUkAr7rpCABYTtp3dmEomsEBNZ9C/i+lJl/JHMS269wj6pEoZmlMPbb4Agx yS0ZaWxqqWmBj1Yz6SP1qlguVKMoj4kibU98Bt/Te1vJ+hMwF6/81mFS3oY1NxCvctAt oCbOivC5ANvRGRVnZYHagN36OfiMSomMNUmuJ1xMZi5FUPkcLXmnAryqoAMC7lFlSF9s 2kqrgq+kRQlwuL7xiO+wmn+zeIexS60w5NHzy/v+cBd3RklJ+Hs+FxtKW/kPPs7SG4Ti BQwnK00azB7w+dPpTqZaX0y6K7HQEYANCqEWXUXTpm3/SQeARxLlgRHLducYWKRcfISc IONA== X-Received: by 10.182.240.135 with SMTP id wa7mr25060137obc.63.1433396860926; Wed, 03 Jun 2015 22:47:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.125.169 with HTTP; Wed, 3 Jun 2015 22:47:00 -0700 (PDT) In-Reply-To: <8F3F8FA0-044D-4296-9DC8-222ED3C96659@hortonworks.com> References: <075901d09e73$96ff3640$c4fda2c0$@mac.com> <8F3F8FA0-044D-4296-9DC8-222ED3C96659@hortonworks.com> From: Ilker Ozkaymak Date: Thu, 4 Jun 2015 00:47:00 -0500 Message-ID: Subject: Re: ack with firstBadLink as 192.168.1.12:50010? To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c1dfc0b7c3b70517aab635 --001a11c1dfc0b7c3b70517aab635 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sounds like 192.168.1.12 is not listening on port 50010, if you have an access to the box netstat -lvnp and see if port 50010 is in the list?? Regards, io On Thu, Jun 4, 2015 at 12:44 AM, Arpit Agarwal wrote: > I recall seeing this error due to a network misconfiguration. You may > want to verify that IP addresses and host names are correctly setup. > > From: Caesar Samsi > Reply-To: "user@hadoop.apache.org" > Date: Wednesday, June 3, 2015 at 8:07 PM > To: "user@hadoop.apache.org" > Subject: ack with firstBadLink as 192.168.1.12:50010? > > I=E2=80=99ve just built my distributed cluster but am getting the follo= wing > error when I try to use HDFS. > > > > I=E2=80=99ve traced it by telnet to 192.168.1.12 50010 and it just waits = there > waiting for a connection but never happens. > > > > If I telnet on that host using localhost (127.0.0.1) the telnet connectio= n > happens immediately. > > > > What could be the cause? > > > > >> > > > > hduser@hadoopmaster ~/hadoop $ hdfs dfs -copyFromLocal input input > > 15/06/03 20:03:36 INFO hdfs.DFSClient: Exception in createBlockOutputStre= am > > java.io.IOException: Got error, status message , ack with firstBadLink as > 192.168.1.12:50010 > > at > org.apache.hadoop.hdfs.protocol.datatransfer.DataTransferProtoUtil.checkB= lockOpStatus(DataTransferProtoUtil.java:140) > > at > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStre= am(DFSOutputStream.java:1334) > > at > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream= (DFSOutputStream.java:1237) > > at > org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.j= ava:449) > > 15/06/03 20:03:36 INFO hdfs.DFSClient: Abandoning > BP-101149352-192.168.1.10-1433386347922:blk_1073741829_1005 > > 15/06/03 20:03:36 INFO hdfs.DFSClient: Excluding datanode > DatanodeInfoWithStorage[192.168.1.12:50010 > ,DS-1347a6fe-6bad-4df8-88cb-21378b847839,DISK] > > 15/06/03 20:03:36 WARN hdfs.DFSClient: Slow waitForAckedSeqno took 70947m= s > (threshold=3D30000ms) > --001a11c1dfc0b7c3b70517aab635 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sounds like 192.168.1.12 is not listening on port 50010, i= f you have an access to the box netstat -lvnp and see if port 50010 is in t= he list??

Regards,
io

On Thu, Jun 4, 2015 at 12:44 A= M, Arpit Agarwal <aagarwal@hortonworks.com> wrote:
I recall seeing this error due to a network misconfiguration. You may = want to verify that IP addresses and host names are correctly setup.

From: Caesar Samsi
Reply-To: "user@hadoop.apache.org" Date: Wednesday, June 3, 2015 at 8:= 07 PM
To: "user@hadoop.apache.org"
Subject: ack with firstBadLink as <= a href=3D"http://192.168.1.12:50010" target=3D"_blank">192.168.1.12:50010?

I=E2=80=99ve just built my distributed cluster but a= m getting the following error when I try to use HDFS.

=C2=A0

I=E2=80=99ve traced it by telnet to 192.168.1.12 500= 10 and it just waits there waiting for a connection but never happens.

=C2=A0

If I telnet on that host using localhost (127.0.0.1)= the telnet connection happens immediately.

=C2=A0

What could be the cause?

=C2=A0

>>=C2=A0

=C2=A0

hduser@hadoopmaster ~/hadoop $ hdfs dfs -copyFromLoc= al input input

15/06/03 20:03:36 INFO hdfs.DFSClient: Exception in = createBlockOutputStream

java.io.IOException: Got error, status message , ack= with firstBadLink as 192.168.1.12:50010

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.hadoop.hdfs.protocol.= datatransfer.DataTransferProtoUtil.checkBlockOpStatus(DataTransferProtoUtil= .java:140)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.hadoop.hdfs.DFSOutput= Stream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1334)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.hadoop.hdfs.DFSOutput= Stream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1237)=

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 at org.apache.hadoop.hdfs.DFSOutput= Stream$DataStreamer.run(DFSOutputStream.java:449)

15/06/03 20:03:36 INFO hdfs.DFSClient: Abandoning BP= -101149352-192.168.1.10-1433386347922:blk_1073741829_1005

15/06/03 20:03:36 INFO hdfs.DFSClient: Excluding dat= anode DatanodeInfoWithStorage[192.168.1.12:50010,DS-1347a6fe-6bad-4df8-88cb-21378b847839,= DISK]

15/06/03 20:03:36 WARN hdfs.DFSClient: Slow waitForA= ckedSeqno took 70947ms (threshold=3D30000ms)


--001a11c1dfc0b7c3b70517aab635--