hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irfan Sayed <irfu.sa...@gmail.com>
Subject Re: about replication
Date Mon, 05 Aug 2013 11:59:12 GMT
thanks.
please refer below:

Administrator@DFS-DC /cygdrive/c/hadoop-1.1.2/hadoop-1.1.2/bin
$ ./hadoop dfs -ls /wksp
Found 1 items
drwxr-xr-x   - Administrator Domain          0 2013-08-05 16:58 /wksp/New
folder

Administrator@DFS-DC /cygdrive/c/hadoop-1.1.2/hadoop-1.1.2/bin
$


same command if i run on the datanode then it says:

Administrator@DFS-1 /cygdrive/c/hadoop-1.1.2/hadoop-1.1.2/bin
$ ./hadoop dfs -ls /wksp
ls: Cannot access /wksp: No such file or directory.

does it mean that replication is not yet started ...?

please suggest

regards



On Mon, Aug 5, 2013 at 5:18 PM, Mohammad Tariq <dontariq@gmail.com> wrote:

> You cannot physically see the HDFS files and directories through local FS.
> Either use HDFS shell or HDFS webUI(namenode_machine:50070).
>
> Warm Regards,
> Tariq
> cloudfront.blogspot.com
>
>
> On Mon, Aug 5, 2013 at 4:46 PM, Irfan Sayed <irfu.sayed@gmail.com> wrote:
>
>> thanks mohammad
>> i ran the below command on NameNode
>>
>> $ ./hadoop dfs -mkdir /wksp
>>
>> and the "wksp" dir got created in c:\ ( as i have windows environment)
>>
>> now , when i log in to one of the DataNode , then i am not able to see
>> c:\wksp
>>
>> any issue ?
>> please suggest
>>
>> regards
>>
>>
>>
>>
>>
>> On Mon, Aug 5, 2013 at 3:03 PM, Mohammad Tariq <dontariq@gmail.com>wrote:
>>
>>> Hello Irfan,
>>>
>>> You can find all the answers from HDFS architecture guide<http://hadoop.apache.org/docs/stable/hdfs_design.html>.
>>> See the section Data Organization<http://hadoop.apache.org/docs/stable/hdfs_design.html#Data+Organization>in
particular for this question.
>>>
>>> Warm Regards,
>>> Tariq
>>> cloudfront.blogspot.com
>>>
>>>
>>> On Mon, Aug 5, 2013 at 12:23 PM, Irfan Sayed <irfu.sayed@gmail.com>wrote:
>>>
>>>> hi,
>>>>
>>>> i have setup the two node apache hadoop cluster on windows environment
>>>> one is namenode and another is datanode
>>>>
>>>> everything is working fine.
>>>> one thing which i need to know is , how the replication starts
>>>> if i create a.txt in namenode , how it will be appeared in datanodes
>>>>
>>>> please suggest
>>>>
>>>> regards
>>>>
>>>>
>>>
>>
>

Mime
View raw message