in Big Data | Hadoop by
Q:

How will you replace HDFS data volume before shutting down a DataNode?

1 Answer

0 votes
by

In HDFS, DataNode supports hot swappable drives. With a swappable drive we can add or replace HDFS data volumes while the DataNode is still running.

The procedure for replacing a hot swappable drive is as follows:

 

First we format and mount the new drive.

We update the DataNode configuration dfs.datanode.data.dir to reflect the data volume directories.

Run the "dfsadmin -reconfig datanode HOST:PORT start" command to start the reconfiguration process Once the reconfiguration is

complete, we just unmount the old data volume

After unmount we can physically remove the old disks.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Jan 11, 2020 in Big Data | Hadoop by rajeshsharma
0 votes
asked Jun 8, 2020 in HDFS by Robindeniel
0 votes
asked Nov 7, 2020 in Hadoop by SakshiSharma
0 votes
asked Oct 28, 2020 in Hadoop by rahuljain1
0 votes
asked Jul 12, 2020 in Loan by anonymous
0 votes
asked Jan 12, 2020 in Big Data | Hadoop by sharadyadav1986
...