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
• 1,980 points
10 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 12,150 points

Related Questions In Big Data Hadoop

0 votes
3 answers

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

You can do it using queue: private static ...READ MORE

answered Dec 4, 2018 in Big Data Hadoop by Ishwar
843 views
0 votes
1 answer

Not able to start Job History Server in Hadoop 2.8.1

You have to start JobHistoryServer process specifically ...READ MORE

answered Mar 29, 2018 in Big Data Hadoop by Ashish
• 2,630 points
232 views
0 votes
1 answer

What Distributed Cache is actually used for in Hadoop?

Basically distributed cache allows you to cache ...READ MORE

answered Apr 2, 2018 in Big Data Hadoop by Ashish
• 2,630 points
74 views
0 votes
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
• 9,030 points
1,655 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
8,024 views
0 votes
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,260 points
560 views
0 votes
1 answer
0 votes
5 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.