Files for Configuring HDFS in Hadoop 2 2 0

0 votes
I am new to Hadoop and I am installing Hadoop 2.2.0 single node. I have already downloaded the Hadoop file and extracted it. Now I am configuring Hadoop, but I am completely confused.

hdfs-site.xml is present in etc/hadoop directory but it doesn’t contain anything.

core-default.xml is also a doc file

So, can anyone help me out in figuring what are the files which I have to edit?
Apr 15, 2018 in Big Data Hadoop by coldcode
• 2,090 points
758 views

1 answer to this question.

0 votes

By default these Hadoop configuration files are found in hadoop/conf directory.

For configuring HDFS you have to edit core-site.xml and hdfs-site.xml files.

core-site.xml:

<property>
  <name>fs.default.name</name>
  <value>hdfs://localhost:8020</value>
</property>

In hdfs-site.xml:

<property>
    <name>hadoop.tmp.dir</name>
    <value>/directory/</value>
</property>

answered Apr 15, 2018 by Shubham
• 13,490 points

Related Questions In Big Data Hadoop

0 votes
5 answers

Hadoop hdfs: list all files in a directory and its subdirectories

Hi, You can try this command: hadoop fs -ls ...READ MORE

answered Aug 1, 2019 in Big Data Hadoop by Dinish
18,334 views
0 votes
1 answer

How to run Hadoop 2.1.0 in Windows System?

Same problem but with recent Hadoop v. ...READ MORE

answered Sep 11, 2019 in Big Data Hadoop by ravikiran
• 4,620 points
2,114 views
0 votes
1 answer

I have to ingest in hadoop cluster large number of files for testing , what is the best way to do it?

Hi@sonali, It depends on what kind of testing ...READ MORE

answered Jul 8, 2020 in Big Data Hadoop by MD
• 95,460 points
1,214 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,028 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,831 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
4,611 views
0 votes
1 answer
0 votes
5 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP