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 76A9010BC2 for ; Thu, 14 Nov 2013 15:21:43 +0000 (UTC) Received: (qmail 42442 invoked by uid 500); 14 Nov 2013 15:21:33 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 42361 invoked by uid 500); 14 Nov 2013 15:21:33 -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 42341 invoked by uid 99); 14 Nov 2013 15:21:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 15:21:32 +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 java8964@hotmail.com designates 65.55.90.84 as permitted sender) Received: from [65.55.90.84] (HELO snt0-omc2-s9.snt0.hotmail.com) (65.55.90.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Nov 2013 15:21:25 +0000 Received: from SNT149-W88 ([65.55.90.71]) by snt0-omc2-s9.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 14 Nov 2013 07:21:04 -0800 X-TMN: [xrzBQTneo1SEKEJusqX0Gg2SjjqaC8oAqPSrThXEGuc=] X-Originating-Email: [java8964@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_5fdeadd2-e541-4147-a50c-65c46c23698c_" From: java8964 java8964 To: "user@hadoop.apache.org" Subject: RE: Folder not created using Hadoop Mapreduce code Date: Thu, 14 Nov 2013 10:21:03 -0500 Importance: Normal In-Reply-To: References: ,,,,, MIME-Version: 1.0 X-OriginalArrivalTime: 14 Nov 2013 15:21:04.0012 (UTC) FILETIME=[2209C4C0:01CEE14D] X-Virus-Checked: Checked by ClamAV on apache.org --_5fdeadd2-e541-4147-a50c-65c46c23698c_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Maybe just a silly guess=2C did you close your Writer? Yong Date: Thu=2C 14 Nov 2013 12:47:13 +0530 Subject: Re: Folder not created using Hadoop Mapreduce code From: unmeshabiju@gmail.com To: user@hadoop.apache.org @rab ra: ys using filesystem s mkdir() we can create folders and we can als= o create it using=0A= Path in =3D new Path("foldername")=3B On Thu=2C Nov 14=2C 2013 at 12:45 PM=2C unmesha sreeveni wrote: =0A= i used to create folders previously like this and it created also.=0A= I dnt know why it is not happening now .=0A= And it is working with eclipse.ie i am getting "inputfile" file within "in"= folder=0A= =0A= On Thu=2C Nov 14=2C 2013 at 12:42 PM=2C unmesha sreeveni wrote: =0A= =0A= I tried hadoop fs -lsr /=0A= =0A= =0A= I did nt find there also=20 On Thu=2C Nov 14=2C 2013 at 12:28 PM=2C Rahul Bhattacharjee wrote: =0A= =0A= =0A= it might be creating within the user directory of the user in hdfs.=0A= =0A= =0A= =0A= =0A= trying creating something starting with a forward slash.=0A= =0A= Thanks=2CRahul=0A= =0A= =0A= On Wed=2C Nov 13=2C 2013 at 10:40 PM=2C Amr Shahin wr= ote: =0A= =0A= =0A= =0A= =0A= Do you get an exception or it just fails silently ? On Thu=2C Nov 14=2C 2013 at 10:27 AM=2C unmesha sreeveni wrote: =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= I am trying to create a file with in "in" folder. but when i tried to run t= his in cluster i noticed that this "in" folder is not within hdfs.=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= why is it so?=0A= Any thing wrong?=0A= My Driver code is=0A= Path in =3D new Path("in")=3B=0A= Path input =3D new Path("in/inputfile")=3B=0A= BufferedWriter createinput =3D new BufferedWriter(new OutputStreamWrite= r(fs.create(input)))=3BAccording to this code a "in" folder and a file "inp= utfile" should be created in working directory of cluster right?=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= --=20 Thanks & Regards=0A= Unmesha Sreeveni U.B Junior Developer =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= --=20 Thanks & Regards=0A= Unmesha Sreeveni U.B Junior Developer =0A= =0A= =0A= =0A= =0A= --=20 Thanks & Regards=0A= Unmesha Sreeveni U.B Junior Developer =0A= =0A= =0A= =0A= --=20 Thanks & Regards=0A= Unmesha Sreeveni U.B Junior Developer =0A= =0A= = --_5fdeadd2-e541-4147-a50c-65c46c23698c_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Maybe just a silly guess=2C did = you close your Writer?

Yong


Date: Thu=2C 14 Nov 2013 12:47:13 +0530
Subject: Re: Folder not = created using Hadoop Mapreduce code
From: unmeshabiju@gmail.com
To: u= ser@hadoop.apache.org

@rab ra: ys using filesyst= em s mkdir() we can create folders and we can also create it using
= =0A= Path in =3D new Path("foldername")=3B


On Thu=2C Nov 14=2C 2013 at 12:45= PM=2C unmesha sreeveni <=3Bunmeshabiju@gmail.com>=3B wrot= e:
=0A=
i used to create folders previousl= y like this and it created also.
=0A=
I dnt know why it is not happening now .
=0A=


And it is working with eclipse.ie i am getting "inputfile" file wit= hin "in" folder
=0A= =0A=


On Thu=2C Nov 14=2C 2013 at 12:42= PM=2C unmesha sreeveni <=3Bunmeshabiju@gmail.com>=3B wrot= e:
=0A= =0A=
I tried hadoop fs -lsr /
=0A= =0A=
=0A= I did nt= find there also =3B


On Thu=2C Nov 14=2C 2013 = at 12:28 PM=2C Rahul Bhattacharjee <=3Brahul.rec.dgp@gmail.com>= =3B wrote:
=0A= =0A= =0A=
it might be creating within the user di= rectory of the user in hdfs.
=0A= =0A= =0A=
= =0A= =0A=
trying creating something starting with a forward slash.
=0A= =0A=
Thanks=2C
Rahul
=0A= =0A= =0A=

On Wed=2C Nov 13=2C 2013 at 10:40 PM= =2C Amr Shahin <=3Bamrnablus@gmail.com>=3B wrote:
=0A= =0A= =0A= =0A= =0A=
Do you get an exception or it just fails silently ?
<= div>


On Thu=2C Nov 14=2C 2013 at 10:27 AM=2C unmesha sreeveni <=3Bunmeshab= iju@gmail.com>=3B wrote:
=0A= =0A= =0A= =0A= =0A= =0A= =0A=

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= I am trying to create a file with in "in" folder. but when i tried to run t= his in cluster i noticed that this "in" folder is not within hdfs.

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A= why is it so?

=0A= Any thing wrong?

=0A= My Driver code is

=0A=
 Path in =3D new Path("in")=3B=0A=
    Path input =3D new Path("in/inputfile")=3B=0A=
    BufferedWriter createinput =3D new BufferedWriter(new OutputStreamWrite=
r(fs.create(input)))=3B
According to this code a "in" folder and a file "inpu= tfile" should be created in working directory of cluster right?=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=
--
Thanks &=3B Regards=0A=

Unmesha Sreeveni U.B
Junior Developer

=0A= =0A= =0A= =0A= =0A= =0A= =0A= =0A=
=0A=
=0A=

=0A=

=0A=



--
=
Thanks &=3B Rega= rds=0A=

Unmesha Sreeveni U.B
Junior Developer

=0A= =0A= =0A=
=0A=
=0A=



--
=
Thanks &=3B Rega= rds=0A=

Unmesha Sreeveni U.B
Junior Developer

=0A= =0A=
=0A=
=0A=



--
=
Thanks &=3B Rega= rds=0A=

Unmesha Sreeveni U.B
Junior Developer

=0A=
=0A= = --_5fdeadd2-e541-4147-a50c-65c46c23698c_--