FAQ
Hi ,

I am Roshan and I have setup hadoop in a fully distributed
mode(hadoop cluster). The default file sytem is hdfs.I have two nodes
cluster. The map reduce job works fine when I give inputfile from hdfs
location and output is also generated in hdfs when running WordCount
example. My hadoop-site.xml looks like this:

<?xml version="1.0"?>

<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrrides in this file. -->



<configuration>

<property>

<name>fs.default.name</name>

<value>hdfs://server1.example.com</value>

</property>

<property>

<name>mapred.job.tracker</name>

<value>server1.example.com:9001</value>

</property>

<property>

<name>dfs.data.dir</name>

<value>/home/admin/hadoop/dfs/data</value>

</property>

<property>

<name>dfs.name.dir</name>

<value>/home/admin/hadoop/dfs/name</value>

</property>

<property>

<name>hadoop.tmp.dir</name>

<value>/tmp/hadoop</value>

</property>

<property>

<name>mapred.system.dir</name>

<value>/hadoop/mapred/system</value>

</property>

<property>

<name>dfs.replication</name>

<value>2</value>

</property>

</configuration>



The problem is that I don't want to give hdfs location for fileinput and
want to generated output in localfilesystem also giving the inputfile
from local but I want to do this in hadoop fully distributed mode
configuration(keeping the hadoop cluster alive).

Giving default filesystem other than hdfs doesn't run cluster.so

Is there any way to achieve this?

I also have nfs server running. All the nodes in hadoop cluster are also
the client of nfs,so they can share the exported /home/admin directory.

Does nfs help in this regard?

Do I have to change my hadoop-site.xml.If so what would it looks like?

Any help will be heartly appreciated.

I am looking forward for the kind response.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedNov 18, '09 at 7:04p
activeNov 18, '09 at 7:04p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Roshan Karki: 1 post

People

Translate

site design / logo © 2022 Grokbase