hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From unmesha sreeveni <unmeshab...@gmail.com>
Subject Re: Folder not created using Hadoop Mapreduce code
Date Thu, 14 Nov 2013 07:12:42 GMT
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 <amrnablus@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*

Mime
View raw message