hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tenghuan He <tenghua...@gmail.com>
Subject Re: New to hadoop. Need help
Date Sat, 31 Oct 2015 11:05:32 GMT
You can see the local location settings in your /etc/hadoop/hdfs.xml files
in the property *dfs.namenode.name.dir* for namenode and
*dfs.datanode.data.dir* for datanode

if you didn't configure these, on Windows 7 it may go to
*D:\tmp\hadoop-username\dfs* (in my case, with hadoop installed in *D:\*)


On Sat, Oct 31, 2015 at 4:05 AM, Caesar Samsi <cmsamsi@hotmail.com> wrote:

> Hi Farhan,
>
>
>
> The file and directories are in Hadoop. To get it to Windows, you’d have
> to issue “hdfs dfs get hadoopfilename.txt windowsfilename.txt
>
>
>
> Hope this helps!
>
>
>
> Best, Caesar.
>
>
>
> *From:* Farhan Iqbal [mailto:farhan.iqbal@gmail.com]
> *Sent:* Friday, October 30, 2015 12:27 PM
> *To:* user@hadoop.apache.org
> *Subject:* New to hadoop. Need help
>
>
>
> Hi guys
>
> I am new to Hadoop. I just installed Hadoop 2.7.1 in windows 7 using
>
>
>
> https://wiki.apache.org/hadoop/Hadoop2OnWindows
>
>
>
>
>
> Now my question is
>
>
>
> How can I browse file in windows which are in hdfs system
>
>
>
> e.g. when I executed this command
>
>
>
>
>
> %HADOOP_PREFIX%\bin\yarn jar %HADOOP_PREFIX%\share\hadoop\mapreduce\hadoop-mapreduce-example
>
> s-2.5.0.jar wordcount /myfile.txt /out
>
>
>
>
>
> where can I view this /out directory etc in windows.
>
>
>
> I have pushed myfile.txt using
>
>
>
> C:\deploy>%HADOOP_PREFIX%\bin\hdfs dfs -put myfile.txt /
>
>

Mime
View raw message