You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by unmesha sreeveni <un...@gmail.com> on 2013/11/14 07:27:40 UTC
Folder not created using Hadoop Mapreduce code
I am trying to create a file with in "in" folder. but when i tried to run
this in cluster i noticed that this "in" folder is not within hdfs.
why is it so?
Any thing wrong?
My Driver code is
Path in = new Path("in");
Path input = new Path("in/inputfile");
BufferedWriter createinput = new BufferedWriter(new
OutputStreamWriter(fs.create(input)));
According to this code a "in" folder and a file "inputfile" should be
created in working directory of cluster right?
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by Amr Shahin <am...@gmail.com>.
run hadoop fs -lsr /
Could've been created in a location different from where you expected
On Thu, Nov 14, 2013 at 10:51 AM, unmesha sreeveni <un...@gmail.com>wrote:
> no exception Amr. just fail to create .
>
>
> On Thu, Nov 14, 2013 at 12:10 PM, Amr Shahin <am...@gmail.com> wrote:
>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>>> I am trying to create a file with in "in" folder. but when i tried to
>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>
>>> why is it so?
>>>
>>> Any thing wrong?
>>>
>>> My Driver code is
>>>
>>>
>>> Path in = new Path("in");
>>> Path input = new Path("in/inputfile");
>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>
>>> According to this code a "in" folder and a file "inputfile" should be
>>> created in working directory of cluster right?
>>>
>>> --
>>> *Thanks & Regards*
>>>
>>> Unmesha Sreeveni U.B
>>>
>>> *Junior Developer*
>>>
>>>
>>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by Amr Shahin <am...@gmail.com>.
run hadoop fs -lsr /
Could've been created in a location different from where you expected
On Thu, Nov 14, 2013 at 10:51 AM, unmesha sreeveni <un...@gmail.com>wrote:
> no exception Amr. just fail to create .
>
>
> On Thu, Nov 14, 2013 at 12:10 PM, Amr Shahin <am...@gmail.com> wrote:
>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>>> I am trying to create a file with in "in" folder. but when i tried to
>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>
>>> why is it so?
>>>
>>> Any thing wrong?
>>>
>>> My Driver code is
>>>
>>>
>>> Path in = new Path("in");
>>> Path input = new Path("in/inputfile");
>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>
>>> According to this code a "in" folder and a file "inputfile" should be
>>> created in working directory of cluster right?
>>>
>>> --
>>> *Thanks & Regards*
>>>
>>> Unmesha Sreeveni U.B
>>>
>>> *Junior Developer*
>>>
>>>
>>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by Amr Shahin <am...@gmail.com>.
run hadoop fs -lsr /
Could've been created in a location different from where you expected
On Thu, Nov 14, 2013 at 10:51 AM, unmesha sreeveni <un...@gmail.com>wrote:
> no exception Amr. just fail to create .
>
>
> On Thu, Nov 14, 2013 at 12:10 PM, Amr Shahin <am...@gmail.com> wrote:
>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>>> I am trying to create a file with in "in" folder. but when i tried to
>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>
>>> why is it so?
>>>
>>> Any thing wrong?
>>>
>>> My Driver code is
>>>
>>>
>>> Path in = new Path("in");
>>> Path input = new Path("in/inputfile");
>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>
>>> According to this code a "in" folder and a file "inputfile" should be
>>> created in working directory of cluster right?
>>>
>>> --
>>> *Thanks & Regards*
>>>
>>> Unmesha Sreeveni U.B
>>>
>>> *Junior Developer*
>>>
>>>
>>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by Amr Shahin <am...@gmail.com>.
run hadoop fs -lsr /
Could've been created in a location different from where you expected
On Thu, Nov 14, 2013 at 10:51 AM, unmesha sreeveni <un...@gmail.com>wrote:
> no exception Amr. just fail to create .
>
>
> On Thu, Nov 14, 2013 at 12:10 PM, Amr Shahin <am...@gmail.com> wrote:
>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>>> I am trying to create a file with in "in" folder. but when i tried to
>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>
>>> why is it so?
>>>
>>> Any thing wrong?
>>>
>>> My Driver code is
>>>
>>>
>>> Path in = new Path("in");
>>> Path input = new Path("in/inputfile");
>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>
>>> According to this code a "in" folder and a file "inputfile" should be
>>> created in working directory of cluster right?
>>>
>>> --
>>> *Thanks & Regards*
>>>
>>> Unmesha Sreeveni U.B
>>>
>>> *Junior Developer*
>>>
>>>
>>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
no exception Amr. just fail to create .
On Thu, Nov 14, 2013 at 12:10 PM, Amr Shahin <am...@gmail.com> wrote:
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
Was due to permission issues.
http://stackoverflow.com/questions/15941108/hdfs-access-from-remote-host-through-java-api-user-authentication
On Fri, Nov 15, 2013 at 8:34 AM, unmesha sreeveni <un...@gmail.com>wrote:
> yes . I closed :(
>
>
> On Thu, Nov 14, 2013 at 8:51 PM, java8964 java8964 <ja...@hotmail.com>wrote:
>
>> Maybe just a silly guess, did you close your Writer?
>>
>> Yong
>>
>> ------------------------------
>> Date: Thu, 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
>> also create it using
>> Path in = new Path("foldername");
>>
>>
>> On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> i used to create folders previously like this and it created also.
>> I dnt know why it is not happening now .
>>
>>
>> And it is working with eclipse.ie i am getting "inputfile" file within
>> "in" folder
>>
>>
>> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> I tried hadoop fs -lsr /
>> I did nt find there also
>>
>>
>> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
>> rahul.rec.dgp@gmail.com> wrote:
>>
>> it might be creating within the user directory of the user in hdfs.
>>
>> trying creating something starting with a forward slash.
>>
>> Thanks,
>> Rahul
>>
>>
>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
Was due to permission issues.
http://stackoverflow.com/questions/15941108/hdfs-access-from-remote-host-through-java-api-user-authentication
On Fri, Nov 15, 2013 at 8:34 AM, unmesha sreeveni <un...@gmail.com>wrote:
> yes . I closed :(
>
>
> On Thu, Nov 14, 2013 at 8:51 PM, java8964 java8964 <ja...@hotmail.com>wrote:
>
>> Maybe just a silly guess, did you close your Writer?
>>
>> Yong
>>
>> ------------------------------
>> Date: Thu, 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
>> also create it using
>> Path in = new Path("foldername");
>>
>>
>> On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> i used to create folders previously like this and it created also.
>> I dnt know why it is not happening now .
>>
>>
>> And it is working with eclipse.ie i am getting "inputfile" file within
>> "in" folder
>>
>>
>> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> I tried hadoop fs -lsr /
>> I did nt find there also
>>
>>
>> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
>> rahul.rec.dgp@gmail.com> wrote:
>>
>> it might be creating within the user directory of the user in hdfs.
>>
>> trying creating something starting with a forward slash.
>>
>> Thanks,
>> Rahul
>>
>>
>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
Was due to permission issues.
http://stackoverflow.com/questions/15941108/hdfs-access-from-remote-host-through-java-api-user-authentication
On Fri, Nov 15, 2013 at 8:34 AM, unmesha sreeveni <un...@gmail.com>wrote:
> yes . I closed :(
>
>
> On Thu, Nov 14, 2013 at 8:51 PM, java8964 java8964 <ja...@hotmail.com>wrote:
>
>> Maybe just a silly guess, did you close your Writer?
>>
>> Yong
>>
>> ------------------------------
>> Date: Thu, 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
>> also create it using
>> Path in = new Path("foldername");
>>
>>
>> On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> i used to create folders previously like this and it created also.
>> I dnt know why it is not happening now .
>>
>>
>> And it is working with eclipse.ie i am getting "inputfile" file within
>> "in" folder
>>
>>
>> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> I tried hadoop fs -lsr /
>> I did nt find there also
>>
>>
>> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
>> rahul.rec.dgp@gmail.com> wrote:
>>
>> it might be creating within the user directory of the user in hdfs.
>>
>> trying creating something starting with a forward slash.
>>
>> Thanks,
>> Rahul
>>
>>
>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
Was due to permission issues.
http://stackoverflow.com/questions/15941108/hdfs-access-from-remote-host-through-java-api-user-authentication
On Fri, Nov 15, 2013 at 8:34 AM, unmesha sreeveni <un...@gmail.com>wrote:
> yes . I closed :(
>
>
> On Thu, Nov 14, 2013 at 8:51 PM, java8964 java8964 <ja...@hotmail.com>wrote:
>
>> Maybe just a silly guess, did you close your Writer?
>>
>> Yong
>>
>> ------------------------------
>> Date: Thu, 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
>> also create it using
>> Path in = new Path("foldername");
>>
>>
>> On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> i used to create folders previously like this and it created also.
>> I dnt know why it is not happening now .
>>
>>
>> And it is working with eclipse.ie i am getting "inputfile" file within
>> "in" folder
>>
>>
>> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> I tried hadoop fs -lsr /
>> I did nt find there also
>>
>>
>> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
>> rahul.rec.dgp@gmail.com> wrote:
>>
>> it might be creating within the user directory of the user in hdfs.
>>
>> trying creating something starting with a forward slash.
>>
>> Thanks,
>> Rahul
>>
>>
>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
yes . I closed :(
On Thu, Nov 14, 2013 at 8:51 PM, java8964 java8964 <ja...@hotmail.com>wrote:
> Maybe just a silly guess, did you close your Writer?
>
> Yong
>
> ------------------------------
> Date: Thu, 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
> also create it using
> Path in = new Path("foldername");
>
>
> On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
> i used to create folders previously like this and it created also.
> I dnt know why it is not happening now .
>
>
> And it is working with eclipse.ie i am getting "inputfile" file within
> "in" folder
>
>
> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
> I tried hadoop fs -lsr /
> I did nt find there also
>
>
> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
> rahul.rec.dgp@gmail.com> wrote:
>
> it might be creating within the user directory of the user in hdfs.
>
> trying creating something starting with a forward slash.
>
> Thanks,
> Rahul
>
>
> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
yes . I closed :(
On Thu, Nov 14, 2013 at 8:51 PM, java8964 java8964 <ja...@hotmail.com>wrote:
> Maybe just a silly guess, did you close your Writer?
>
> Yong
>
> ------------------------------
> Date: Thu, 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
> also create it using
> Path in = new Path("foldername");
>
>
> On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
> i used to create folders previously like this and it created also.
> I dnt know why it is not happening now .
>
>
> And it is working with eclipse.ie i am getting "inputfile" file within
> "in" folder
>
>
> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
> I tried hadoop fs -lsr /
> I did nt find there also
>
>
> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
> rahul.rec.dgp@gmail.com> wrote:
>
> it might be creating within the user directory of the user in hdfs.
>
> trying creating something starting with a forward slash.
>
> Thanks,
> Rahul
>
>
> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
yes . I closed :(
On Thu, Nov 14, 2013 at 8:51 PM, java8964 java8964 <ja...@hotmail.com>wrote:
> Maybe just a silly guess, did you close your Writer?
>
> Yong
>
> ------------------------------
> Date: Thu, 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
> also create it using
> Path in = new Path("foldername");
>
>
> On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
> i used to create folders previously like this and it created also.
> I dnt know why it is not happening now .
>
>
> And it is working with eclipse.ie i am getting "inputfile" file within
> "in" folder
>
>
> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
> I tried hadoop fs -lsr /
> I did nt find there also
>
>
> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
> rahul.rec.dgp@gmail.com> wrote:
>
> it might be creating within the user directory of the user in hdfs.
>
> trying creating something starting with a forward slash.
>
> Thanks,
> Rahul
>
>
> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
yes . I closed :(
On Thu, Nov 14, 2013 at 8:51 PM, java8964 java8964 <ja...@hotmail.com>wrote:
> Maybe just a silly guess, did you close your Writer?
>
> Yong
>
> ------------------------------
> Date: Thu, 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
> also create it using
> Path in = new Path("foldername");
>
>
> On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
> i used to create folders previously like this and it created also.
> I dnt know why it is not happening now .
>
>
> And it is working with eclipse.ie i am getting "inputfile" file within
> "in" folder
>
>
> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
> I tried hadoop fs -lsr /
> I did nt find there also
>
>
> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
> rahul.rec.dgp@gmail.com> wrote:
>
> it might be creating within the user directory of the user in hdfs.
>
> trying creating something starting with a forward slash.
>
> Thanks,
> Rahul
>
>
> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
RE: Folder not created using Hadoop Mapreduce code
Posted by java8964 java8964 <ja...@hotmail.com>.
Maybe just a silly guess, did you close your Writer?
Yong
Date: Thu, 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 also create it using
Path in = new Path("foldername");
On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com> wrote:
i used to create folders previously like this and it created also.
I dnt know why it is not happening now .
And it is working with eclipse.ie i am getting "inputfile" file within "in" folder
On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com> wrote:
I tried hadoop fs -lsr /
I did nt find there also
On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <ra...@gmail.com> wrote:
it might be creating within the user directory of the user in hdfs.
trying creating something starting with a forward slash.
Thanks,Rahul
On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
Do you get an exception or it just fails silently ?
On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com> wrote:
I am trying to create a file with in "in" folder. but when i tried to run this in cluster i noticed that this "in" folder is not within hdfs.
why is it so?
Any thing wrong?
My Driver code is
Path in = new Path("in");
Path input = new Path("in/inputfile");
BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));According to this code a "in" folder and a file "inputfile" should be created in working directory of cluster right?
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
RE: Folder not created using Hadoop Mapreduce code
Posted by java8964 java8964 <ja...@hotmail.com>.
Maybe just a silly guess, did you close your Writer?
Yong
Date: Thu, 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 also create it using
Path in = new Path("foldername");
On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com> wrote:
i used to create folders previously like this and it created also.
I dnt know why it is not happening now .
And it is working with eclipse.ie i am getting "inputfile" file within "in" folder
On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com> wrote:
I tried hadoop fs -lsr /
I did nt find there also
On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <ra...@gmail.com> wrote:
it might be creating within the user directory of the user in hdfs.
trying creating something starting with a forward slash.
Thanks,Rahul
On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
Do you get an exception or it just fails silently ?
On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com> wrote:
I am trying to create a file with in "in" folder. but when i tried to run this in cluster i noticed that this "in" folder is not within hdfs.
why is it so?
Any thing wrong?
My Driver code is
Path in = new Path("in");
Path input = new Path("in/inputfile");
BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));According to this code a "in" folder and a file "inputfile" should be created in working directory of cluster right?
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
RE: Folder not created using Hadoop Mapreduce code
Posted by java8964 java8964 <ja...@hotmail.com>.
Maybe just a silly guess, did you close your Writer?
Yong
Date: Thu, 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 also create it using
Path in = new Path("foldername");
On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com> wrote:
i used to create folders previously like this and it created also.
I dnt know why it is not happening now .
And it is working with eclipse.ie i am getting "inputfile" file within "in" folder
On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com> wrote:
I tried hadoop fs -lsr /
I did nt find there also
On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <ra...@gmail.com> wrote:
it might be creating within the user directory of the user in hdfs.
trying creating something starting with a forward slash.
Thanks,Rahul
On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
Do you get an exception or it just fails silently ?
On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com> wrote:
I am trying to create a file with in "in" folder. but when i tried to run this in cluster i noticed that this "in" folder is not within hdfs.
why is it so?
Any thing wrong?
My Driver code is
Path in = new Path("in");
Path input = new Path("in/inputfile");
BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));According to this code a "in" folder and a file "inputfile" should be created in working directory of cluster right?
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
RE: Folder not created using Hadoop Mapreduce code
Posted by java8964 java8964 <ja...@hotmail.com>.
Maybe just a silly guess, did you close your Writer?
Yong
Date: Thu, 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 also create it using
Path in = new Path("foldername");
On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com> wrote:
i used to create folders previously like this and it created also.
I dnt know why it is not happening now .
And it is working with eclipse.ie i am getting "inputfile" file within "in" folder
On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com> wrote:
I tried hadoop fs -lsr /
I did nt find there also
On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <ra...@gmail.com> wrote:
it might be creating within the user directory of the user in hdfs.
trying creating something starting with a forward slash.
Thanks,Rahul
On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
Do you get an exception or it just fails silently ?
On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com> wrote:
I am trying to create a file with in "in" folder. but when i tried to run this in cluster i noticed that this "in" folder is not within hdfs.
why is it so?
Any thing wrong?
My Driver code is
Path in = new Path("in");
Path input = new Path("in/inputfile");
BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));According to this code a "in" folder and a file "inputfile" should be created in working directory of cluster right?
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
--
Thanks & Regards
Unmesha Sreeveni U.B
Junior Developer
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
@rab ra: ys using filesystem s mkdir() we can create folders and we can
also create it using
Path in = new Path("foldername");
On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com>wrote:
> i used to create folders previously like this and it created also.
> I dnt know why it is not happening now .
>
>
> And it is working with eclipse.ie i am getting "inputfile" file within
> "in" folder
>
>
> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I tried hadoop fs -lsr /
>> I did nt find there also
>>
>>
>> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
>> rahul.rec.dgp@gmail.com> wrote:
>>
>>> it might be creating within the user directory of the user in hdfs.
>>>
>>> trying creating something starting with a forward slash.
>>>
>>> Thanks,
>>> Rahul
>>>
>>>
>>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com>wrote:
>>>
>>>> Do you get an exception or it just fails silently ?
>>>>
>>>>
>>>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <
>>>> unmeshabiju@gmail.com> wrote:
>>>>
>>>>> I am trying to create a file with in "in" folder. but when i tried to
>>>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>>>
>>>>> why is it so?
>>>>>
>>>>> Any thing wrong?
>>>>>
>>>>> My Driver code is
>>>>>
>>>>>
>>>>> Path in = new Path("in");
>>>>> Path input = new Path("in/inputfile");
>>>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>>>
>>>>> According to this code a "in" folder and a file "inputfile" should be
>>>>> created in working directory of cluster right?
>>>>>
>>>>> --
>>>>> *Thanks & Regards*
>>>>>
>>>>> Unmesha Sreeveni U.B
>>>>>
>>>>> *Junior Developer*
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
@rab ra: ys using filesystem s mkdir() we can create folders and we can
also create it using
Path in = new Path("foldername");
On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com>wrote:
> i used to create folders previously like this and it created also.
> I dnt know why it is not happening now .
>
>
> And it is working with eclipse.ie i am getting "inputfile" file within
> "in" folder
>
>
> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I tried hadoop fs -lsr /
>> I did nt find there also
>>
>>
>> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
>> rahul.rec.dgp@gmail.com> wrote:
>>
>>> it might be creating within the user directory of the user in hdfs.
>>>
>>> trying creating something starting with a forward slash.
>>>
>>> Thanks,
>>> Rahul
>>>
>>>
>>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com>wrote:
>>>
>>>> Do you get an exception or it just fails silently ?
>>>>
>>>>
>>>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <
>>>> unmeshabiju@gmail.com> wrote:
>>>>
>>>>> I am trying to create a file with in "in" folder. but when i tried to
>>>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>>>
>>>>> why is it so?
>>>>>
>>>>> Any thing wrong?
>>>>>
>>>>> My Driver code is
>>>>>
>>>>>
>>>>> Path in = new Path("in");
>>>>> Path input = new Path("in/inputfile");
>>>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>>>
>>>>> According to this code a "in" folder and a file "inputfile" should be
>>>>> created in working directory of cluster right?
>>>>>
>>>>> --
>>>>> *Thanks & Regards*
>>>>>
>>>>> Unmesha Sreeveni U.B
>>>>>
>>>>> *Junior Developer*
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
@rab ra: ys using filesystem s mkdir() we can create folders and we can
also create it using
Path in = new Path("foldername");
On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com>wrote:
> i used to create folders previously like this and it created also.
> I dnt know why it is not happening now .
>
>
> And it is working with eclipse.ie i am getting "inputfile" file within
> "in" folder
>
>
> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I tried hadoop fs -lsr /
>> I did nt find there also
>>
>>
>> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
>> rahul.rec.dgp@gmail.com> wrote:
>>
>>> it might be creating within the user directory of the user in hdfs.
>>>
>>> trying creating something starting with a forward slash.
>>>
>>> Thanks,
>>> Rahul
>>>
>>>
>>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com>wrote:
>>>
>>>> Do you get an exception or it just fails silently ?
>>>>
>>>>
>>>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <
>>>> unmeshabiju@gmail.com> wrote:
>>>>
>>>>> I am trying to create a file with in "in" folder. but when i tried to
>>>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>>>
>>>>> why is it so?
>>>>>
>>>>> Any thing wrong?
>>>>>
>>>>> My Driver code is
>>>>>
>>>>>
>>>>> Path in = new Path("in");
>>>>> Path input = new Path("in/inputfile");
>>>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>>>
>>>>> According to this code a "in" folder and a file "inputfile" should be
>>>>> created in working directory of cluster right?
>>>>>
>>>>> --
>>>>> *Thanks & Regards*
>>>>>
>>>>> Unmesha Sreeveni U.B
>>>>>
>>>>> *Junior Developer*
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
@rab ra: ys using filesystem s mkdir() we can create folders and we can
also create it using
Path in = new Path("foldername");
On Thu, Nov 14, 2013 at 12:45 PM, unmesha sreeveni <un...@gmail.com>wrote:
> i used to create folders previously like this and it created also.
> I dnt know why it is not happening now .
>
>
> And it is working with eclipse.ie i am getting "inputfile" file within
> "in" folder
>
>
> On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I tried hadoop fs -lsr /
>> I did nt find there also
>>
>>
>> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
>> rahul.rec.dgp@gmail.com> wrote:
>>
>>> it might be creating within the user directory of the user in hdfs.
>>>
>>> trying creating something starting with a forward slash.
>>>
>>> Thanks,
>>> Rahul
>>>
>>>
>>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com>wrote:
>>>
>>>> Do you get an exception or it just fails silently ?
>>>>
>>>>
>>>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <
>>>> unmeshabiju@gmail.com> wrote:
>>>>
>>>>> I am trying to create a file with in "in" folder. but when i tried to
>>>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>>>
>>>>> why is it so?
>>>>>
>>>>> Any thing wrong?
>>>>>
>>>>> My Driver code is
>>>>>
>>>>>
>>>>> Path in = new Path("in");
>>>>> Path input = new Path("in/inputfile");
>>>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>>>
>>>>> According to this code a "in" folder and a file "inputfile" should be
>>>>> created in working directory of cluster right?
>>>>>
>>>>> --
>>>>> *Thanks & Regards*
>>>>>
>>>>> Unmesha Sreeveni U.B
>>>>>
>>>>> *Junior Developer*
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
i used to create folders previously like this and it created also.
I dnt know why it is not happening now .
And it is working with eclipse.ie i am getting "inputfile" file within "in"
folder
On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
> I tried hadoop fs -lsr /
> I did nt find there also
>
>
> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
> rahul.rec.dgp@gmail.com> wrote:
>
>> it might be creating within the user directory of the user in hdfs.
>>
>> trying creating something starting with a forward slash.
>>
>> Thanks,
>> Rahul
>>
>>
>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>>
>>> Do you get an exception or it just fails silently ?
>>>
>>>
>>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <
>>> unmeshabiju@gmail.com> wrote:
>>>
>>>> I am trying to create a file with in "in" folder. but when i tried to
>>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>>
>>>> why is it so?
>>>>
>>>> Any thing wrong?
>>>>
>>>> My Driver code is
>>>>
>>>>
>>>> Path in = new Path("in");
>>>> Path input = new Path("in/inputfile");
>>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>>
>>>> According to this code a "in" folder and a file "inputfile" should be
>>>> created in working directory of cluster right?
>>>>
>>>> --
>>>> *Thanks & Regards*
>>>>
>>>> Unmesha Sreeveni U.B
>>>>
>>>> *Junior Developer*
>>>>
>>>>
>>>>
>>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
i used to create folders previously like this and it created also.
I dnt know why it is not happening now .
And it is working with eclipse.ie i am getting "inputfile" file within "in"
folder
On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
> I tried hadoop fs -lsr /
> I did nt find there also
>
>
> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
> rahul.rec.dgp@gmail.com> wrote:
>
>> it might be creating within the user directory of the user in hdfs.
>>
>> trying creating something starting with a forward slash.
>>
>> Thanks,
>> Rahul
>>
>>
>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>>
>>> Do you get an exception or it just fails silently ?
>>>
>>>
>>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <
>>> unmeshabiju@gmail.com> wrote:
>>>
>>>> I am trying to create a file with in "in" folder. but when i tried to
>>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>>
>>>> why is it so?
>>>>
>>>> Any thing wrong?
>>>>
>>>> My Driver code is
>>>>
>>>>
>>>> Path in = new Path("in");
>>>> Path input = new Path("in/inputfile");
>>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>>
>>>> According to this code a "in" folder and a file "inputfile" should be
>>>> created in working directory of cluster right?
>>>>
>>>> --
>>>> *Thanks & Regards*
>>>>
>>>> Unmesha Sreeveni U.B
>>>>
>>>> *Junior Developer*
>>>>
>>>>
>>>>
>>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
i used to create folders previously like this and it created also.
I dnt know why it is not happening now .
And it is working with eclipse.ie i am getting "inputfile" file within "in"
folder
On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
> I tried hadoop fs -lsr /
> I did nt find there also
>
>
> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
> rahul.rec.dgp@gmail.com> wrote:
>
>> it might be creating within the user directory of the user in hdfs.
>>
>> trying creating something starting with a forward slash.
>>
>> Thanks,
>> Rahul
>>
>>
>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>>
>>> Do you get an exception or it just fails silently ?
>>>
>>>
>>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <
>>> unmeshabiju@gmail.com> wrote:
>>>
>>>> I am trying to create a file with in "in" folder. but when i tried to
>>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>>
>>>> why is it so?
>>>>
>>>> Any thing wrong?
>>>>
>>>> My Driver code is
>>>>
>>>>
>>>> Path in = new Path("in");
>>>> Path input = new Path("in/inputfile");
>>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>>
>>>> According to this code a "in" folder and a file "inputfile" should be
>>>> created in working directory of cluster right?
>>>>
>>>> --
>>>> *Thanks & Regards*
>>>>
>>>> Unmesha Sreeveni U.B
>>>>
>>>> *Junior Developer*
>>>>
>>>>
>>>>
>>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
i used to create folders previously like this and it created also.
I dnt know why it is not happening now .
And it is working with eclipse.ie i am getting "inputfile" file within "in"
folder
On Thu, Nov 14, 2013 at 12:42 PM, unmesha sreeveni <un...@gmail.com>wrote:
> I tried hadoop fs -lsr /
> I did nt find there also
>
>
> On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
> rahul.rec.dgp@gmail.com> wrote:
>
>> it might be creating within the user directory of the user in hdfs.
>>
>> trying creating something starting with a forward slash.
>>
>> Thanks,
>> Rahul
>>
>>
>> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>>
>>> Do you get an exception or it just fails silently ?
>>>
>>>
>>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <
>>> unmeshabiju@gmail.com> wrote:
>>>
>>>> I am trying to create a file with in "in" folder. but when i tried to
>>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>>
>>>> why is it so?
>>>>
>>>> Any thing wrong?
>>>>
>>>> My Driver code is
>>>>
>>>>
>>>> Path in = new Path("in");
>>>> Path input = new Path("in/inputfile");
>>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>>
>>>> According to this code a "in" folder and a file "inputfile" should be
>>>> created in working directory of cluster right?
>>>>
>>>> --
>>>> *Thanks & Regards*
>>>>
>>>> Unmesha Sreeveni U.B
>>>>
>>>> *Junior Developer*
>>>>
>>>>
>>>>
>>>
>>
>
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
I tried hadoop fs -lsr /
I did nt find there also
On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
rahul.rec.dgp@gmail.com> wrote:
> it might be creating within the user directory of the user in hdfs.
>
> trying creating something starting with a forward slash.
>
> Thanks,
> Rahul
>
>
> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>>> I am trying to create a file with in "in" folder. but when i tried to
>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>
>>> why is it so?
>>>
>>> Any thing wrong?
>>>
>>> My Driver code is
>>>
>>>
>>> Path in = new Path("in");
>>> Path input = new Path("in/inputfile");
>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>
>>> According to this code a "in" folder and a file "inputfile" should be
>>> created in working directory of cluster right?
>>>
>>> --
>>> *Thanks & Regards*
>>>
>>> Unmesha Sreeveni U.B
>>>
>>> *Junior Developer*
>>>
>>>
>>>
>>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
I tried hadoop fs -lsr /
I did nt find there also
On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
rahul.rec.dgp@gmail.com> wrote:
> it might be creating within the user directory of the user in hdfs.
>
> trying creating something starting with a forward slash.
>
> Thanks,
> Rahul
>
>
> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>>> I am trying to create a file with in "in" folder. but when i tried to
>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>
>>> why is it so?
>>>
>>> Any thing wrong?
>>>
>>> My Driver code is
>>>
>>>
>>> Path in = new Path("in");
>>> Path input = new Path("in/inputfile");
>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>
>>> According to this code a "in" folder and a file "inputfile" should be
>>> created in working directory of cluster right?
>>>
>>> --
>>> *Thanks & Regards*
>>>
>>> Unmesha Sreeveni U.B
>>>
>>> *Junior Developer*
>>>
>>>
>>>
>>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
I tried hadoop fs -lsr /
I did nt find there also
On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
rahul.rec.dgp@gmail.com> wrote:
> it might be creating within the user directory of the user in hdfs.
>
> trying creating something starting with a forward slash.
>
> Thanks,
> Rahul
>
>
> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>>> I am trying to create a file with in "in" folder. but when i tried to
>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>
>>> why is it so?
>>>
>>> Any thing wrong?
>>>
>>> My Driver code is
>>>
>>>
>>> Path in = new Path("in");
>>> Path input = new Path("in/inputfile");
>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>
>>> According to this code a "in" folder and a file "inputfile" should be
>>> created in working directory of cluster right?
>>>
>>> --
>>> *Thanks & Regards*
>>>
>>> Unmesha Sreeveni U.B
>>>
>>> *Junior Developer*
>>>
>>>
>>>
>>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
I tried hadoop fs -lsr /
I did nt find there also
On Thu, Nov 14, 2013 at 12:28 PM, Rahul Bhattacharjee <
rahul.rec.dgp@gmail.com> wrote:
> it might be creating within the user directory of the user in hdfs.
>
> trying creating something starting with a forward slash.
>
> Thanks,
> Rahul
>
>
> On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
>
>> Do you get an exception or it just fails silently ?
>>
>>
>> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <unmeshabiju@gmail.com
>> > wrote:
>>
>>> I am trying to create a file with in "in" folder. but when i tried to
>>> run this in cluster i noticed that this "in" folder is not within hdfs.
>>>
>>> why is it so?
>>>
>>> Any thing wrong?
>>>
>>> My Driver code is
>>>
>>>
>>> Path in = new Path("in");
>>> Path input = new Path("in/inputfile");
>>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>>
>>> According to this code a "in" folder and a file "inputfile" should be
>>> created in working directory of cluster right?
>>>
>>> --
>>> *Thanks & Regards*
>>>
>>> Unmesha Sreeveni U.B
>>>
>>> *Junior Developer*
>>>
>>>
>>>
>>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by Rahul Bhattacharjee <ra...@gmail.com>.
it might be creating within the user directory of the user in hdfs.
trying creating something starting with a forward slash.
Thanks,
Rahul
On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by Rahul Bhattacharjee <ra...@gmail.com>.
it might be creating within the user directory of the user in hdfs.
trying creating something starting with a forward slash.
Thanks,
Rahul
On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
no exception Amr. just fail to create .
On Thu, Nov 14, 2013 at 12:10 PM, Amr Shahin <am...@gmail.com> wrote:
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
no exception Amr. just fail to create .
On Thu, Nov 14, 2013 at 12:10 PM, Amr Shahin <am...@gmail.com> wrote:
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by Rahul Bhattacharjee <ra...@gmail.com>.
it might be creating within the user directory of the user in hdfs.
trying creating something starting with a forward slash.
Thanks,
Rahul
On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by Rahul Bhattacharjee <ra...@gmail.com>.
it might be creating within the user directory of the user in hdfs.
trying creating something starting with a forward slash.
Thanks,
Rahul
On Wed, Nov 13, 2013 at 10:40 PM, Amr Shahin <am...@gmail.com> wrote:
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by unmesha sreeveni <un...@gmail.com>.
no exception Amr. just fail to create .
On Thu, Nov 14, 2013 at 12:10 PM, Amr Shahin <am...@gmail.com> wrote:
> Do you get an exception or it just fails silently ?
>
>
> On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
>
>> I am trying to create a file with in "in" folder. but when i tried to run
>> this in cluster i noticed that this "in" folder is not within hdfs.
>>
>> why is it so?
>>
>> Any thing wrong?
>>
>> My Driver code is
>>
>> Path in = new Path("in");
>> Path input = new Path("in/inputfile");
>> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>>
>> According to this code a "in" folder and a file "inputfile" should be
>> created in working directory of cluster right?
>>
>> --
>> *Thanks & Regards*
>>
>> Unmesha Sreeveni U.B
>>
>> *Junior Developer*
>>
>>
>>
>
--
*Thanks & Regards*
Unmesha Sreeveni U.B
*Junior Developer*
Re: Folder not created using Hadoop Mapreduce code
Posted by Amr Shahin <am...@gmail.com>.
Do you get an exception or it just fails silently ?
On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by Amr Shahin <am...@gmail.com>.
Do you get an exception or it just fails silently ?
On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by rab ra <ra...@gmail.com>.
Unless you FileSystem's mkdir() method , i m not sure you create a folder
in hdfs
On 14 Nov 2013 11:58, "unmesha sreeveni" <un...@gmail.com> wrote:
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by rab ra <ra...@gmail.com>.
Unless you FileSystem's mkdir() method , i m not sure you create a folder
in hdfs
On 14 Nov 2013 11:58, "unmesha sreeveni" <un...@gmail.com> wrote:
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by Amr Shahin <am...@gmail.com>.
Do you get an exception or it just fails silently ?
On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by Amr Shahin <am...@gmail.com>.
Do you get an exception or it just fails silently ?
On Thu, Nov 14, 2013 at 10:27 AM, unmesha sreeveni <un...@gmail.com>wrote:
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by rab ra <ra...@gmail.com>.
Unless you FileSystem's mkdir() method , i m not sure you create a folder
in hdfs
On 14 Nov 2013 11:58, "unmesha sreeveni" <un...@gmail.com> wrote:
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>
Re: Folder not created using Hadoop Mapreduce code
Posted by rab ra <ra...@gmail.com>.
Unless you FileSystem's mkdir() method , i m not sure you create a folder
in hdfs
On 14 Nov 2013 11:58, "unmesha sreeveni" <un...@gmail.com> wrote:
> I am trying to create a file with in "in" folder. but when i tried to run
> this in cluster i noticed that this "in" folder is not within hdfs.
>
> why is it so?
>
> Any thing wrong?
>
> My Driver code is
>
> Path in = new Path("in");
> Path input = new Path("in/inputfile");
> BufferedWriter createinput = new BufferedWriter(new OutputStreamWriter(fs.create(input)));
>
> According to this code a "in" folder and a file "inputfile" should be
> created in working directory of cluster right?
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
>
>