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 60AA9FC7C for ; Fri, 29 Mar 2013 07:31:16 +0000 (UTC) Received: (qmail 52573 invoked by uid 500); 29 Mar 2013 07:31:11 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 52402 invoked by uid 500); 29 Mar 2013 07:31:11 -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 52377 invoked by uid 99); 29 Mar 2013 07:31:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 07:31:10 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=FREEMAIL_REPLY,HTML_FONT_FACE_BAD,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anand.aravindan@gmail.com designates 209.85.192.196 as permitted sender) Received: from [209.85.192.196] (HELO mail-pd0-f196.google.com) (209.85.192.196) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 07:31:03 +0000 Received: by mail-pd0-f196.google.com with SMTP id v10so75934pde.3 for ; Fri, 29 Mar 2013 00:30:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=ZU03SR/ecMb+Lt+ggISbonBKUW5kZSGzzDMT32YPGC8=; b=T5alnrQd2rkgeqK4EUcCsmcwathtI4qVVOjQxIL/rGlM/fV7CZhri4ocAFZIOwAQTP t78MjYu4pp+kMQpPb1ZAdQVWl6TqhibHQP6PcQpO5KSjlgn1N8WKJcUDr5I9iDYQD/SO TkwY0Rbefmi6vzFE9YINYaovak4/67RY7AZXkR9uM2jh9y0GUNAQT6FbWOMwmOJYx68w HX6NcIjMiadustAOifyBE5g9F/+psVo4EZrdZaC55CQyO2b8y+oQH9Lnjxmx+e9MwLhr +GnH2ZI5n8Tt8zdb0eu8S9/zhwRzEn1mwq6SJEilZNJs/NTNNoNO/xDsJcdbtAOmnmXf luYQ== MIME-Version: 1.0 X-Received: by 10.68.247.72 with SMTP id yc8mr2374766pbc.23.1364542242519; Fri, 29 Mar 2013 00:30:42 -0700 (PDT) Received: by 10.68.245.231 with HTTP; Fri, 29 Mar 2013 00:30:42 -0700 (PDT) In-Reply-To: References: Date: Fri, 29 Mar 2013 00:30:42 -0700 Message-ID: Subject: Re: error copying file from local to hadoop fs From: Anand Aravindan To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7b160491a5802404d90b3fc0 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b160491a5802404d90b3fc0 Content-Type: text/plain; charset=ISO-8859-1 Hello, In the Safe Mode, -copyFromLocal would not work. Please read: http://hadoop.apache.org/docs/stable/hdfs_user_guide.html#Safemode Please wait a bit for the HDFS system to exit SafeMode. If it takes a significantly long time, and the HDFS is still in the SafeMode, something could be wrong with your HDFS setup. On Fri, Mar 29, 2013 at 12:20 AM, Ravi Chandran wrote: > Thanks for replying, I did jps, it doesnt show any of the deamon > services. also, i just got the error message showing: > > Cannot create file/user/training/inputs/basic.txt._COPYING_. Name node is > in safe mode. > > looks like JT and DN are not responding to NN. but this is a standalone > setup, i dont understand how it can have communication issue. > > On Fri, Mar 29, 2013 at 12:46 PM, Jagat Singh wrote: > >> Your cluster is not running properly. >> >> Can you do jps and see if all services are running. >> >> JT >> NN >> DN >> >> etc >> >> >> >> >> On Fri, Mar 29, 2013 at 6:07 PM, Ravi Chandran > > wrote: >> >>> hi, >>> I am trying to copy a local text file into hadoop fs using >>> -copyFromLocal option, but i am getting error: >>> >>> 13/03/29 03:02:54 INFO ipc.Client: Retrying connect to server: >>> 0.0.0.0/0.0.0.0:8020. Already tried 0 time(s); maxRetries=45 >>> 13/03/29 03:03:15 INFO ipc.Client: Retrying connect to server: >>> 0.0.0.0/0.0.0.0:8020. Already tried 1 time(s); maxRetries=45 >>> 13/03/29 03:03:36 INFO ipc.Client: Retrying connect to server: >>> 0.0.0.0/0.0.0.0:8020. Already tried 2 time(s); maxRetries=45 >>> 13/03/29 03:03:57 INFO ipc.Client: Retrying connect to server: >>> 0.0.0.0/0.0.0.0:8020. Already tried 3 time(s); maxRetries=45 >>> 13/03/29 03:04:18 INFO ipc.Client: Retrying connect to server: >>> 0.0.0.0/0.0.0.0:8020. Already tried 4 time(s); maxRetries=45 >>> 13/03/29 03:04:39 INFO ipc.Client: Retrying connect to server: >>> 0.0.0.0/0.0.0.0:8020. Already tried 5 time(s); maxRetries=45 >>> 13/03/29 03:05:00 INFO ipc.Client: Retrying connect to server: >>> 0.0.0.0/0.0.0.0:8020. Already tried 6 time(s); maxRetries=45 >>> 13/03/29 03:05:21 INFO ipc.Client: Retrying connect to server: >>> 0.0.0.0/0.0.0.0:8020. Already tried 7 time(s); maxRetries=45 >>> >>> I have checked the services, they seem to be running. what should i do >>> now? >>> >>> -- >>> Thanks & Regards >>> Ravi >>> >> >> > > > -- > Thanks & Regards > Ravi > -- *Live Long and Prosper !* --047d7b160491a5802404d90b3fc0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,
In the Safe Mode, -copyFromLocal would not work.
Please read:
=
Please wait a bit for the HDFS system to exit SafeMode. If= it takes a significantly long time, and the HDFS is still in the SafeMode,= something could be wrong with your HDFS setup.
=


On Fri, Mar 29, 2013 at 12:20 AM, Ravi Chandran <ravicha= ndran777@gmail.com> wrote:
Thanks for replying, I did jps, it does= nt show any of the deamon services.=A0 also, i just got the error message s= howing:
=A0
=A0Cannot create file/user/training/inputs/basic.txt._COPYING_. Name n= ode is in safe mode.
=A0
looks like JT and DN are not responding to NN. but this is a standalon= e setup, i dont understand how it can have communication issue.

On Fri, Mar 29, 2013 at 12:46 PM, Jagat Singh <jagatsingh@gmail.com> wrote:
Your cluster is not running properly.=

Can you do jps and see if all services are running.

JT
NN=
DN

etc=20




On Fri, Mar 29, 2013 at 6:07 PM, Ravi Chandran <= span dir=3D"ltr"><ravichandran777@gmail.com> wrote:
hi,=20
I am trying to copy a local text file into hadoop fs using -copyFromLo= cal option, but i am getting error:=A0

13/03/29 03:02:54 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8020= . Already tried 0 time(s); maxRetries=3D45
13/03/29 03:03:15 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8020= . Already tried 1 time(s); maxRetries=3D45
13/03/29 03:03:36 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8020= . Already tried 2 time(s); maxRetries=3D45
13/03/29 03:03:57 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8020= . Already tried 3 time(s); maxRetries=3D45
13/03/29 03:04:18 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8020= . Already tried 4 time(s); maxRetries=3D45
13/03/29 03:04:39 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8020= . Already tried 5 time(s); maxRetries=3D45
13/03/29 03:05:00 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8020= . Already tried 6 time(s); maxRetries=3D45
13/03/29 03:05:21 INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8020= . Already tried 7 time(s); maxRetries=3D45

I have checked the services, they seem to be running. what should i do= now?

--
Thanks & Regards=20
Ravi




--
Thanks & Regards= =20
Ravi



--
= Live Long and Prosper = !
--047d7b160491a5802404d90b3fc0--